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 -1
View File
@@ -388,7 +388,7 @@
verdict open.spotify.com '-> proxied via community-de'
grep -q 'autoProxy .*routed via community-de' where
# What proxy-ctl cannot see has to be said out loud.
grep -q 'proxy.routing.rules are not visible' where
grep -q 'sing-box config is not readable' where
verdict discord.com '-> direct, with the zapret bypass'
verdict nyt.com '-> direct, with the zapret bypass'
@@ -408,6 +408,7 @@
# autoProxy learn/queue, inbound stats and subscriptions, apps run.
proxy-ctl-unit =
pkgs.runCommand "proxy-suite-proxy-ctl-unit-check" { nativeBuildInputs = [ pkgs.python3 ]; } ''
export SING_BOX=${pkgs.sing-box}/bin/sing-box
export PYTHONDONTWRITEBYTECODE=1
python ${../../pkgs/proxy-ctl}/test_proxy_ctl.py
touch "$out"