You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
182 B

set GO111MODULE=on
set GOARCH=386
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