Skip to content

Commit 2037926

Browse files
bcrosscxioschwartz10612
authored andcommitted
feat(installer): reduce binary size
1 parent 1d12e9e commit 2037926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ all: clean rsrc build
1515
build: rsrc
1616
@echo "Building Windows executable (GUI mode)..."
1717
@mkdir -p $(BUILD_DIR)
18-
GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags="-H windowsgui" -o $(BUILD_DIR)/$(BINARY_NAME).exe
18+
GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags="-s -w -H windowsgui" -o $(BUILD_DIR)/$(BINARY_NAME).exe
1919
@echo "Build complete: $(BUILD_DIR)/$(BINARY_NAME).exe"
2020

2121

0 commit comments

Comments
 (0)