mirror of
https://github.com/xiaoqidun/wslkd.git
synced 2026-01-25 23:28:43 +08:00
chore(编译脚本): 更新编译脚本
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
set GOOS=windows
|
set GOOS=windows
|
||||||
set GOARCH=amd64
|
set GOARCH=amd64
|
||||||
set CGO_ENABLED=0
|
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
|
||||||
|
|||||||
@@ -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=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' 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
|
||||||
Reference in New Issue
Block a user