diff options
| author | Jeff Carr <[email protected]> | 2024-01-18 23:18:28 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-18 23:18:28 -0600 |
| commit | 54cc01b992e48ff92cbf5aeba779544dc8704ee9 (patch) | |
| tree | 9170c38b5c2c4393166a01f6b5c3a3fcf315add0 | |
| parent | 040abfaa06a51c757244eae318569e7bd1ce7993 (diff) | |
need main() for go pluginsv0.0.7
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | main.go | 4 | ||||
| -rw-r--r-- | updateui.go | 6 |
2 files changed, 4 insertions, 6 deletions
@@ -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() { +} diff --git a/updateui.go b/updateui.go index 3e75f7c..b6c3096 100644 --- a/updateui.go +++ b/updateui.go @@ -101,9 +101,3 @@ func demoUI() { // this is messed up. // mainWindow.Show() } - -/* -func main() { - ui.Main(setupUI) -} -*/ |
