forked from go/golangs_learn
VIVIMAN
3 years ago
6 changed files with 4 additions and 4 deletions
@ -1,5 +1,5 @@ |
|||
set GO111MODULE=on |
|||
set GOARCH=386 |
|||
rsrc -manifest main.manifest -ico serviceMonitor.ico -o rsrc.syso |
|||
go build -ldflags="-s -w -H=windowsgui" |
|||
rsrc -manifest main.manifest -ico main.ico -o main.syso |
|||
go build -ldflags="-s -w -H=windowsgui -X 'main.Version=v1.0.0'" |
|||
upx -9 ./go_to_windows.exe |
|||
|
After Width: | Height: | Size: 25 KiB |
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB |
Loading…
Reference in new issue