diff --git a/.gitignore b/.gitignore index a2b886d..a0edb6d 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,7 @@ # Output of the go coverage tool, specifically when used with LiteIDE *.out - +*.syso # Dependency directories (remove the comment below to include it) # vendor/ launcheq.txt diff --git a/Makefile b/Makefile index f67a13d..90c0c27 100644 --- a/Makefile +++ b/Makefile @@ -46,4 +46,6 @@ build-linux: .PHONY: build-windows build-windows: @echo "Building Windows ${VERSION}" - @GOOS=windows GOARCH=amd64 go build -buildmode=pie -ldflags="-X main.Version=${VERSION} -X main.PatcherUrl=${PATCHER_URL} -s -w" -o bin/${NAME}.exe main.go \ No newline at end of file + go install github.com/akavel/rsrc@latest + rsrc -ico launcheq.ico -manifest launcheq.exe.manifest + GOOS=windows GOARCH=amd64 go build -buildmode=pie -ldflags="-X main.Version=${VERSION} -X main.PatcherUrl=${PATCHER_URL} -s -w" -o bin/${NAME}.exe \ No newline at end of file diff --git a/launcheq.ico b/launcheq.ico new file mode 100644 index 0000000..c3c105c Binary files /dev/null and b/launcheq.ico differ diff --git a/rsrc_windows_386.syso b/rsrc_windows_386.syso deleted file mode 100644 index 82577fa..0000000 Binary files a/rsrc_windows_386.syso and /dev/null differ diff --git a/rsrc_windows_amd64.syso b/rsrc_windows_amd64.syso deleted file mode 100644 index 6b8a7ee..0000000 Binary files a/rsrc_windows_amd64.syso and /dev/null differ