Add background-working Xray to windows release version. (#861)

* Add wxray.

* Add wxray.exe into windows release version.

* Pretty the format on building wxray.
This commit is contained in:
Johnshall 2022-02-20 11:22:12 +08:00 committed by GitHub
parent b3ab94ef5b
commit cf1ee095a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,6 +142,11 @@ jobs:
run: | run: |
mkdir -p build_assets mkdir -p build_assets
go build -v -o build_assets/xray -trimpath -ldflags "-s -w -buildid=" ./main 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 - name: Build Mips softfloat Xray
if: matrix.goarch == 'mips' || matrix.goarch == 'mipsle' if: matrix.goarch == 'mips' || matrix.goarch == 'mipsle'