修复build错误

This commit is contained in:
bjdgyc 2024-02-02 18:59:34 +08:00 committed by GitHub
parent 947339384b
commit 6c1f29ba3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ ldflags="-s -w -extldflags '-static' -X main.appVer=$ver -X main.commitId=$(git
#国内可替换源加快速度
export GOPROXY=https://goproxy.io
go mod tidy
go build -o anylink "$flags" -ldflags "$ldflags"
go build -o anylink $flags -ldflags "$ldflags"
cd $cpath