feat: better cli where cmd
This commit is contained in:
5 files changed
+168
-2
No files matched your search
@@ -34,6 +34,7 @@
|
||||
localProxyUrl,
|
||||
autoProxyEnabled,
|
||||
autoProxyStateDir,
|
||||
singBox,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -72,6 +73,7 @@ let
|
||||
LOCAL_PROXY_URL = localProxyUrl;
|
||||
AUTOPROXY_ENABLED = autoProxyEnabled;
|
||||
AUTOPROXY_STATE_DIR = autoProxyStateDir;
|
||||
SING_BOX = singBox;
|
||||
};
|
||||
envFlags = lib.concatStringsSep " " (
|
||||
lib.mapAttrsToList (name: value: "--set ${name} ${lib.escapeShellArg value}") wrapperEnv
|
||||
|
||||
Reference in new issue
Block a user