From bf0863f4d07619a00888042382375d0d4059c26b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 6 Nov 2024 16:09:02 -0600 Subject: [PATCH] this might work? Signed-off-by: Jeff Carr --- main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index f7bc634..990d6df 100644 --- a/main.go +++ b/main.go @@ -32,8 +32,10 @@ func main() { os.Exit(0) } myGui = gui.New() - myGui.InitEmbed(resources) - myGui.Default() + if ! argv.NoGui { + myGui.InitEmbed(resources) + myGui.Default() + } basicWindow = makebasicWindow()