From dce405bdfae2ea421e4b3f6d8a86a95db9772df3 Mon Sep 17 00:00:00 2001 From: rinkulu Date: Sun, 23 Aug 2026 01:42:33 +0300 Subject: [PATCH] chore(build): fix bash build script --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index a4d273de..c4e36531 100755 --- a/build.sh +++ b/build.sh @@ -14,6 +14,6 @@ fi # https://github.com/webpack/webpack/issues/14532#issuecomment-947012063 cd "$CurrentDir"/gui && yarn --ignore-engines && OUTPUT_DIR="$CurrentDir"/service/server/router/web yarn --ignore-engines build # Build v2raya-core (merged xray-core + custom protocols) -cd "$CurrentDir"/core && CGO_ENABLED=0 go build -trimpath -ldflags "-X main.Version=$version -s -w" -o "$CurrentDir"/v2raya_core +cd "$CurrentDir"/core && CGO_ENABLED=0 go build -trimpath -ldflags "-X main.Version=$version -s -w" -o "$CurrentDir"/v2raya_core ./main cd "$CurrentDir"/service && CGO_ENABLED=0 go build -trimpath -tags "with_gvisor" -ldflags "-X github.com/v2rayA/v2rayA/conf.Version=$version -s -w" -o "$CurrentDir"/v2raya