From 4013892a477dd1575939972320799277cb707085 Mon Sep 17 00:00:00 2001 From: James Houlahan Date: Tue, 12 Jan 2021 17:11:28 +0100 Subject: [PATCH] fix: launcher should be executed silently, not in a console, on windows --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 856201ca..9391ffa9 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,9 @@ ifneq "${BUILD_LDFLAGS}" "" endif GO_LDFLAGS_LAUNCHER:=${GO_LDFLAGS} GO_LDFLAGS_LAUNCHER+=$(addprefix -X main.,ConfigName=${CONFIGNAME} ExeName=proton-${APP}) +ifeq "${TARGET_OS}" "windows" + GO_LDFLAGS_LAUNCHER+=-H=windowsgui +endif BUILD_FLAGS+=-ldflags '${GO_LDFLAGS}' BUILD_FLAGS_NOGUI+=-ldflags '${GO_LDFLAGS}'