diff options
| author | Jeff Carr <[email protected]> | 2022-11-14 14:30:28 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2022-11-14 14:30:28 -0600 |
| commit | 355e5ec968427c2b07b78fec12224f31a65df740 (patch) | |
| tree | 99754f9f6888c166a435d14e3a71cc9304f14970 /main.go | |
| parent | 207cf7ea16f1da8fa9f893504d77a2856298cc22 (diff) | |
setup building without plugins on windowsv0.5.1
notes from github remote
keep removing os.Exit()
rename from andlabs2 back to andlabs
rename files for windows andlabs/ui
gocui always sets STDOUT a file in /tmp/
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -52,12 +52,12 @@ func Init() { // the program didn't specify a plugin. Try to load one // TODO: detect the OS & user preferences to load the best one if (initBAD) { - if (LoadToolkit("andlabs2")) { + if (LoadToolkit("andlabs")) { initBAD = false } } - // andlabs2 gui failed. fall back to the terminal gui (should be compiled into the binary) + // andlabs gui plugin failed. fall back to the terminal gui (should be compiled into the binary) if (initBAD) { if (LoadToolkit("gocui")) { initBAD = false @@ -112,7 +112,7 @@ func Main(f func()) { // other goroutines. This is due to the nature of how // Linux, MacOS and Windows work (they all work differently. suprise. surprise.) // For example: gui.Queue(NewWindow()) -func queue(f func()) { +func Queue(f func()) { log.Println("Sending function to gui.Main() (using gtk via andlabs/ui)") // toolkit.Queue(f) for _, aplug := range allPlugins { |
