diff options
| author | Jeff Carr <[email protected]> | 2024-11-15 20:04:22 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-15 20:04:22 -0600 |
| commit | fd65e8f02e59f115c33fe73475742693027eebbd (patch) | |
| tree | a7ddfc89b33322648948985e015fbbf1a0663a37 /main.go | |
| parent | 8a144eb5fd1ea8a799af51d93518b8080e6624f1 (diff) | |
try to add --no-guiv0.22.6
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -263,6 +263,10 @@ func New() *Node { // try to load andlabs, if that doesn't work, fall back to the console func (n *Node) Default() *Node { var err error + if argGui.NoGui { + log.Log(WARN, "--no-gui chill Winston. I don't need no gui") + return n + } if argGui.GuiPlugin != "" { log.Log(WARN, "New.Default() try toolkit =", argGui.GuiPlugin) if n, err = n.LoadToolkit(argGui.GuiPlugin); err == nil { |
