Add naiveproxy outbound

This commit is contained in:
世界
2026-01-17 05:47:41 +08:00
parent 7e68013b05
commit ad7b982242
27 changed files with 1521 additions and 135 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -e -o pipefail
SCRIPT_DIR=$(dirname "$0")
PROJECTS=$SCRIPT_DIR/../..
git -C $PROJECTS/cronet-go fetch origin main
git -C $PROJECTS/cronet-go fetch origin go
go get -x github.com/sagernet/cronet-go/all@$(git -C $PROJECTS/cronet-go rev-parse origin/go)
go mod tidy
git -C $PROJECTS/cronet-go rev-parse origin/HEAD > "$SCRIPT_DIR/CRONET_GO_VERSION"