From dc92aae3f5dbab49319fe6272b79dea79b0e31de Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Tue, 8 Dec 2020 20:51:41 -0800 Subject: [PATCH] update build flags --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 41de25a..445ff64 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Do __not__ change any of the following or this will break on the RMM end Build the 64 bit agent ``` goversioninfo -64 -env CGO_ENABLED=1 GOARCH=amd64 go build -o tacticalrmm.exe +env CGO_ENABLED=1 GOARCH=amd64 go build -ldflags "-s -w" -o tacticalrmm.exe "c:/Program Files (x86)\Inno Setup 6\ISCC.exe" build/setup.iss ``` @@ -36,7 +36,7 @@ Build the 32 bit agent ``` rm resource.syso tacticalrmm.exe goversioninfo -env CGO_ENABLED=1 GOARCH=386 go build -o tacticalrmm.exe +env CGO_ENABLED=1 GOARCH=386 go build -ldflags "-s -w" -o tacticalrmm.exe "c:/Program Files (x86)\Inno Setup 6\ISCC.exe" build/setup-x86.iss ```