mirror of
https://github.com/gustavosett/Windows-11-Clipboard-History-For-Linux
synced 2026-04-26 01:25:11 +02:00
fix: ensure software rendering in virtualized environments
This commit is contained in:
@@ -48,4 +48,9 @@ export TAURI_TRAY="${TAURI_TRAY:-libayatana-appindicator3}"
|
||||
# Disable AT-SPI to prevent accessibility bus warnings/delays
|
||||
export NO_AT_BRIDGE=1
|
||||
|
||||
# Force software rendering in virtualized environments to avoid GPU issues
|
||||
if systemd-detect-virt -q; then
|
||||
export LIBGL_ALWAYS_SOFTWARE=1
|
||||
fi
|
||||
|
||||
exec "$BINARY" "$@"
|
||||
|
||||
Reference in New Issue
Block a user