mirror of
https://github.com/xiaoqidun/wslkd.git
synced 2024-12-21 13:51:07 +08:00
This commit is contained in:
parent
98c935ec35
commit
74eb16b176
@ -1,4 +1,4 @@
|
||||
set GOOS=windows
|
||||
set GOARCH=amd64
|
||||
set CGO_ENABLED=0
|
||||
go build -o wslkd.exe -trimpath -ldflags "-H windowsgui -s -w" wslkd.go
|
||||
go build -o wslkd.exe -trimpath -ldflags "-H windowsgui -s -w -buildid=" wslkd.go
|
||||
|
4
build.sh
4
build.sh
@ -1,2 +1,2 @@
|
||||
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -o release/wslkd_amd64.exe -trimpath -ldflags '-H windowsgui -s -w' wslkd.go
|
||||
GOOS=windows GOARCH=arm64 CGO_ENABLED=0 go build -o release/wslkd_arm64.exe -trimpath -ldflags '-H windowsgui -s -w' wslkd.go
|
||||
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -o release/wslkd_amd64.exe -trimpath -ldflags "-H windowsgui -s -w -buildid=" wslkd.go
|
||||
GOOS=windows GOARCH=arm64 CGO_ENABLED=0 go build -o release/wslkd_arm64.exe -trimpath -ldflags "-H windowsgui -s -w -buildid=" wslkd.go
|
Loading…
x
Reference in New Issue
Block a user