From 350d5e58601320d44c779412a6a3018660f28d34 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 16 Nov 2024 00:05:07 -0600 Subject: fix makefile --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 26bc80a..06a96f7 100644 --- a/main.go +++ b/main.go @@ -35,10 +35,10 @@ func main() { os.Exit(0) } myGui = gui.New() - if !argv.NoGui { + if !argv.Auto { myGui.InitEmbed(resources) - myGui.Default() } + myGui.Default() basicWindow = makebasicWindow() @@ -72,7 +72,7 @@ func main() { log.Info("cd", cBox.status.Path()) os.Chdir(cBox.status.Path()) - if argv.NoGui { + if argv.Auto { shell.TestTerminalColor() // basicWindow.Show() // broken gui package. convert to protobuf if ok, err := cBox.buildPackage(); ok { -- cgit v1.2.3