From dfa8e493efdc3eda77db8bfdf1eb15a0201e94de Mon Sep 17 00:00:00 2001 From: parhelia512 <0011d3@gmail.com> Date: Wed, 16 Jul 2025 18:58:43 +0800 Subject: [PATCH] Update build_go.sh --- script/build_go.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/build_go.sh b/script/build_go.sh index b709523..c1813d3 100755 --- a/script/build_go.sh +++ b/script/build_go.sh @@ -26,7 +26,7 @@ popd #### Go: core #### pushd core/server pushd gen -update_proto.sh +protoc -I . --go_out=. --go_opt paths=source_relative --go-grpc_out=. --go-grpc_opt paths=source_relative libcore.proto popd VERSION_SINGBOX=$(go list -m -f '{{.Version}}' github.com/sagernet/sing-box) go build -v -o $DEST -trimpath -ldflags "-w -s -X 'github.com/sagernet/sing-box/constant.Version=${VERSION_SINGBOX}'" -tags "with_clash_api,with_gvisor,with_quic,with_wireguard,with_utls,with_ech,with_dhcp"