feat: better cli where cmd

This commit is contained in:
fufsob committed 2026-09-14 14:10:23 +00:00
1 parent e2da83ba56
commit 00b27e94ce
5 files changed
+168 -2

No files matched your search

+2
View File
@@ -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