This commit is contained in:
Johnshall 2021-12-17 16:59:02 +00:00 committed by GitHub
commit 0ff49c2728
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,6 +38,13 @@ $env:CGO_ENABLED=0
go build -o xray.exe -trimpath -ldflags "-s -w -buildid=" ./main
```
你也可以通过这个命令生成一个没有界面的 wxray.exe :
```powershell
$env:CGO_ENABLED=0
go build -o wxray.exe -trimpath -ldflags "-s -w -H windowsgui -buildid=" ./main
```
### macOS, Linux:
```bash