feat: 预置 sing-box 到 Gitea Release,一键优先本地下载
- amd64/arm64 整包 + armv7 分片上传 Release bin-v1.11.7 - fetch: Gitea 整包/分片 → git.86482425.xyz → 直连 GitHub - publish-binaries-to-gitea.sh 支持大文件自动分片
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/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" "$@" ;;
|
||||
help|*)
|
||||
cat <<H
|
||||
./cpxy <cmd>
|
||||
detect | generate | install | verify | fetch
|
||||
|
||||
语义: 走本代理的连接一律从数据网卡出口(系统默认仍可走 WiFi)
|
||||
H
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user