From 8d1015cabae6107463256b7220723b1ffd3424e8 Mon Sep 17 00:00:00 2001 From: Xavier Michelon Date: Tue, 22 Nov 2022 14:17:55 +0100 Subject: [PATCH] GODT-2104: reverted go exe linker flags windowsgui for launcher. --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7c3dbd51..a683d5f9 100644 --- a/Makefile +++ b/Makefile @@ -34,9 +34,8 @@ ifneq "${BUILD_LDFLAGS}" "" endif GO_LDFLAGS_LAUNCHER:=${GO_LDFLAGS} ifeq "${TARGET_OS}" "windows" - #Temporarily disable this so we can inspect trace logs from the bridge for debugging - #GO_LDFLAGS+=-H=windowsgui - #GO_LDFLAGS_LAUNCHER+=-H=windowsgui + #GO_LDFLAGS+=-H=windowsgui # Disabled so we can inspect trace logs from the bridge for debugging. + GO_LDFLAGS_LAUNCHER+=-H=windowsgui # Having this flag prevent a temporary cmd.exe window from popping when starting the application on Windows 11. endif BUILD_FLAGS+=-ldflags '${GO_LDFLAGS}'