From 1f36cd7b6612177ac1bf2ff6ba8d538affce6420 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 18 Oct 2025 09:23:16 -0500 Subject: finally progress on proper integration here --- init.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'init.go') diff --git a/init.go b/init.go index 3a42811..47bbebd 100644 --- a/init.go +++ b/init.go @@ -323,9 +323,10 @@ func New() *Node { return me.rootNode } -func PreInit(postMustParse func(string) string) *Node { +// func PreInit(postMustParse func(string) string) *Node { +func PreInit() *Node { initNew() - me.postMustParse = postMustParse + // me.postMustParse = postMustParse return me.rootNode } @@ -333,10 +334,10 @@ func PreInit(postMustParse func(string) string) *Node { // try to load andlabs, if that doesn't work, fall back to the console func (n *Node) Default() (string, error) { var err error - ArgvGui.GuiPlugin = me.postMustParse("DEFAULT") - if me.postMustParse("VERBOSE") == "true" { - INFO.SetBool(true) - } + // ArgvGui.GuiPlugin = me.postMustParse("DEFAULT") + // if me.postMustParse("VERBOSE") == "true" { + INFO.SetBool(true) + // } if ArgvGui.GuiPlugin != "" { log.Log(WARN, "New.Default() try toolkit =", ArgvGui.GuiPlugin) -- cgit v1.2.3