diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 79790f0..4fae2b8 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -42,8 +42,8 @@ builds: - amd64 - arm64 ldflags: - - -s -w -H=windowsgui - #gobinary: "scripts/garble.sh" + - -H=windowsgui + gobinary: "scripts/garble.sh" tags: - release diff --git a/Makefile b/Makefile index 71d2d82..fb06f58 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ win: socks5-ssh-proxy.exe socks5-ssh-proxy.exe: resources $(GARBLE_BIN) $(SOURCES) GOOS=windows GOARCH=amd64 $(GARBLE_CMD) build -ldflags -H=windowsgui -tags release -o $@ goreleaser: resources $(GARBLE_BIN) - goreleaser build --clean --snapshot -id win-release + goreleaser build --clean --snapshot --id win-release win-package: ChromeProxyHelperPlugin.zip ChromeProxyHelperPlugin.zip: socks5-ssh-proxy.exe cp socks5-ssh-proxy.exe chrome_proxy.exe