summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-18 09:23:16 -0500
committerJeff Carr <[email protected]>2025-10-18 09:23:16 -0500
commit1f36cd7b6612177ac1bf2ff6ba8d538affce6420 (patch)
tree0ffc6baef16773759f4b55b6d7131d1eb1d00b46 /init.go
parentefd65e7567d2c8440cf1b29af8c374e69f7e08e6 (diff)
finally progress on proper integration herev0.25.9
Diffstat (limited to 'init.go')
-rw-r--r--init.go13
1 files changed, 7 insertions, 6 deletions
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)