mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 12:46:46 +00:00
fix: launcher should be executed silently, not in a console, on windows
This commit is contained in:
3
Makefile
3
Makefile
@ -40,6 +40,9 @@ ifneq "${BUILD_LDFLAGS}" ""
|
|||||||
endif
|
endif
|
||||||
GO_LDFLAGS_LAUNCHER:=${GO_LDFLAGS}
|
GO_LDFLAGS_LAUNCHER:=${GO_LDFLAGS}
|
||||||
GO_LDFLAGS_LAUNCHER+=$(addprefix -X main.,ConfigName=${CONFIGNAME} ExeName=proton-${APP})
|
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+=-ldflags '${GO_LDFLAGS}'
|
||||||
BUILD_FLAGS_NOGUI+=-ldflags '${GO_LDFLAGS}'
|
BUILD_FLAGS_NOGUI+=-ldflags '${GO_LDFLAGS}'
|
||||||
|
|||||||
Reference in New Issue
Block a user