summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-06 16:09:02 -0600
committerJeff Carr <[email protected]>2024-11-06 16:09:02 -0600
commitbf0863f4d07619a00888042382375d0d4059c26b (patch)
tree5440cdde8626574417b5f2a26e526c7e9a56313c /main.go
parent1eb637cbf5101c13b5b271a32670e3aa56b12989 (diff)
this might work?
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files 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()