Unverified Commit f1fa9780 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

plex-desktop: unset QT env variables that may cause crashing (#404177)

parents 82271c26 1e1a3ccd
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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