Commit 872d00d4 authored by Yarny0's avatar Yarny0
Browse files

zoom-us: simplify environment

Zoom seems to work fine without

* cd'ing into its `/opt/zoom` directory
* unsetting `QML2_IMPORT_PATH` and `QT_SCREEN_SCALE_FACTORS`

before starting `ZoomLauncher`.

However, unsetting `QT_PLUGIN_PATH` is still required,
at least when Zoom is used within plasma 5.
parent a195cdd1
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -188,12 +188,7 @@ let
    version = versions.${system} or throwSystem;

    targetPkgs = pkgs: (linuxGetDependencies pkgs) ++ [ unpacked ];
    extraPreBwrapCmds = ''
      cd ${unpacked}/opt/zoom
      unset QML2_IMPORT_PATH
      unset QT_PLUGIN_PATH
      unset QT_SCREEN_SCALE_FACTORS
    '';
    extraPreBwrapCmds = "unset QT_PLUGIN_PATH";
    extraBwrapArgs = [ "--ro-bind ${unpacked}/opt /opt" ];
    runScript = "/opt/zoom/ZoomLauncher";