always specify '-H windowsgui' for windows

This commit is contained in:
Travis McLane
2020-09-14 21:42:47 -05:00
parent fe2c5e8611
commit 3fc572eea0

View File

@@ -557,7 +557,7 @@ func ldFlags(po *ProjectOptions, buildMode string) string {
}
// Add windows flags
if po.Platform == "windows" && buildMode == BuildModeProd {
if po.Platform == "windows" {
ldflags += "-H windowsgui "
}