Files
cellular-proxy/cpxy
T
Hermes 91939c7cc2 feat: UI/CLI 配置代理账密;armv7 仅保留整包
- 面板可设置 7890 账号密码(管理 API :9091)
- cpxy auth --user/--pass/--clear/--show
- Release armv7 整包已验证,已删除分片资产
2026-07-21 12:29:57 +00:00

23 lines
689 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "$0")" && pwd)"
cmd="${1:-help}"
shift || true
case "$cmd" in
detect) exec "$ROOT/scripts/detect.sh" "$@" ;;
generate) exec "$ROOT/scripts/generate.sh" "$@" ;;
install) exec "$ROOT/scripts/install.sh" "$@" ;;
verify) exec "$ROOT/scripts/verify.sh" "$@" ;;
fetch) exec "$ROOT/scripts/fetch-binaries.sh" "$@" ;;
auth) exec "$ROOT/scripts/apply-proxy-auth.sh" "$@" ;;
help|*)
cat <<H
./cpxy <cmd>
detect | generate | install | verify | fetch
auth --user U --pass P | auth --clear | auth --show
语义: 走本代理的连接一律从数据网卡出口(系统默认仍可走 WiFi)
H
;;
esac