plex-desktop: unset QT env variables that may cause crashing

This commit is contained in:
detroyejr
2025-05-04 14:24:56 -04:00
parent 93e8cdce7a
commit 1e1a3ccd2c
+3
View File
@@ -153,6 +153,9 @@ buildFHSEnv {
# db files should have write access.
chmod --recursive 750 "$PLEX_DB"
# These environment variables sometimes silently cause plex to crash.
unset QT_QPA_PLATFORM QT_STYLE_OVERRIDE
set -o allexport
${lib.toShellVars extraEnv}
exec ${plex-desktop}/Plex.sh