AppRun: Set QT_QPA_PLATFORM at start of script

Forces yuzu to use X11 even on Wayland hosts.
This commit is contained in:
lat9nq 2022-07-27 16:31:54 -04:00
parent d40433f651
commit b9a00c30e2

5
AppRun
View file

@ -1,5 +1,10 @@
#!/bin/sh -e
# Force xcb platform for Qt applications
if [ -z "${QT_QPA_PLATFORM}" ]; then
export QT_QPA_PLATFORM=xcb
fi
# add your command to execute here
exec=