Removed console window on Windows.

This commit is contained in:
Sander Schobers 2021-08-09 13:55:10 +02:00
parent 4ee8fd52d1
commit 2d3ff0f84d
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,9 @@ import (
"opslag.de/schobers/zntg/ui" "opslag.de/schobers/zntg/ui"
) )
// #cgo windows LDFLAGS: -Wl,-subsystem,windows
import "C"
//go:generate go get -u github.com/GeertJohan/go.rice/rice //go:generate go get -u github.com/GeertJohan/go.rice/rice
//go:generate rice embed //go:generate rice embed

View File

@ -8,7 +8,6 @@ import (
_ "opslag.de/schobers/zntg/allg5ui" // rendering backend _ "opslag.de/schobers/zntg/allg5ui" // rendering backend
) )
// #cgo windows,allegro LDFLAGS: -Wl,-subsystem,windows
import "C" import "C"
func init() { func init() {