docs: 客户端可配置分流设计+原型(并入 v2 作开发基线) #7

Closed
wangjia wants to merge 39 commits from design/configurable-proxy into feat/pay-v2-integration
2 changed files with 7 additions and 1 deletions
Showing only changes of commit ee16cd3266 - Show all commits
+3
View File
@@ -39,6 +39,9 @@ jobs:
GOPROXY: https://goproxy.cn,direct
PUB_HOSTED_URL: https://pub.flutter-io.cn
FLUTTER_STORAGE_BASE_URL: https://storage.flutter-io.cn
# sing-box 源码经 NAS gitea 镜像取(mac runner 连不上 github;经 runner 的
# gitea relay 127.0.0.1:13000 → wangjia/sing-box)。见 scripts/build-libbox.sh。
SINGBOX_GIT: http://127.0.0.1:13000/wangjia/sing-box.git
steps:
- name: Checkout
uses: actions/checkout@v4
+4 -1
View File
@@ -54,7 +54,10 @@ gomobile init
echo "==> [2/3] 拉 sing-box $SINGBOX_VERSION 源码"
mkdir -p "$WORK"
rm -rf "$WORK/sing-box"
git clone --depth 1 --branch "$SINGBOX_VERSION" https://github.com/SagerNet/sing-box.git "$WORK/sing-box"
# sing-box 源码:默认 github,CI 里国内 runner 连不上 github → 经 SINGBOX_GIT 指向
# NAS gitea 镜像(wangjia/sing-box,gitea migrate 自 github)。见 deploy-client.yml。
SINGBOX_GIT="${SINGBOX_GIT:-https://github.com/SagerNet/sing-box.git}"
git clone --depth 1 --branch "$SINGBOX_VERSION" "$SINGBOX_GIT" "$WORK/sing-box"
cd "$WORK/sing-box"
echo "==> [3/3] 用官方 build_libbox 编核心库"