mirror of
https://github.com/taigrr/wails.git
synced 2026-04-13 18:38:11 -07:00
always specify '-H windowsgui' for windows
This commit is contained in:
@@ -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 "
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user