diff --git a/build/BUILD.bat b/build/BUILD.bat index 7afcf5b..7dea073 100644 --- a/build/BUILD.bat +++ b/build/BUILD.bat @@ -1,4 +1,5 @@ cd /d %~dp0 cd .. -go build -o gowiki.exe +go build -ldflags="-s -w" -o gowiki_amd64.exe +..\upx-3.95-win64\upx.exe -9 gowiki_amd64.exe pause \ No newline at end of file