From cf1ee095a26f75ac65333d5fce23cde69b88509f Mon Sep 17 00:00:00 2001 From: Johnshall <71166067+Johnshall@users.noreply.github.com> Date: Sun, 20 Feb 2022 11:22:12 +0800 Subject: [PATCH] Add background-working Xray to windows release version. (#861) * Add wxray. * Add wxray.exe into windows release version. * Pretty the format on building wxray. --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 29763abc..73639cdd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -142,6 +142,11 @@ jobs: run: | mkdir -p build_assets go build -v -o build_assets/xray -trimpath -ldflags "-s -w -buildid=" ./main + + - name: Build background Xray on Windows + if: matrix.goos == 'windows' + run: | + go build -v -o build_assets/wxray.exe -trimpath -ldflags "-s -w -H windowsgui -buildid=" ./main - name: Build Mips softfloat Xray if: matrix.goarch == 'mips' || matrix.goarch == 'mipsle'