internal/ui: call hideConsole at init

This commit is contained in:
Hajime Hoshi 2024-01-28 22:05:47 +09:00
parent cf393fc56e
commit 373e61d054
2 changed files with 4 additions and 1 deletions

View File

@ -67,3 +67,7 @@ func hideConsoleWindow() {
_ = freeConsole()
}
}
func init() {
hideConsoleWindow()
}

View File

@ -31,7 +31,6 @@ import (
)
func (u *UserInterface) initializePlatform() error {
hideConsoleWindow()
return nil
}