chore(编译脚本): 添加CI自动编译脚本

This commit is contained in:
2022-11-22 14:55:34 +08:00
parent 476779ebce
commit 95fa32b83e
2 changed files with 26 additions and 0 deletions

2
build.sh Normal file
View File

@@ -0,0 +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