summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-18 23:18:28 -0600
committerJeff Carr <[email protected]>2024-01-18 23:18:28 -0600
commit54cc01b992e48ff92cbf5aeba779544dc8704ee9 (patch)
tree9170c38b5c2c4393166a01f6b5c3a3fcf315add0 /main.go
parent040abfaa06a51c757244eae318569e7bd1ce7993 (diff)
need main() for go pluginsv0.0.7
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index 8fc343d..22be764 100644
--- a/main.go
+++ b/main.go
@@ -49,6 +49,7 @@ func guiMain() {
log.Println("Stack trace:")
debug.PrintStack()
me.myTree.DoToolkitPanic()
+ return
}
}()
ui.Main(func() {
@@ -80,3 +81,6 @@ func init() {
// actually, this probably breaks the macos build
go guiMain()
}
+
+func main() {
+}