mirror of
https://github.com/xiaoqidun/wslkd.git
synced 2025-04-05 05:37:54 +08:00
@ -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
|
||||||
|
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=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
|
2
go.mod
2
go.mod
@ -1,5 +1,5 @@
|
|||||||
module github.com/xiaoqidun/wslkd
|
module github.com/xiaoqidun/wslkd
|
||||||
|
|
||||||
go 1.20
|
go 1.21.2
|
||||||
|
|
||||||
require github.com/xiaoqidun/gowsl v0.0.0-20230413023629-a3ca5183ee17
|
require github.com/xiaoqidun/gowsl v0.0.0-20230413023629-a3ca5183ee17
|
||||||
|
Reference in New Issue
Block a user