summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-21 02:00:04 -0600
committerJeff Carr <[email protected]>2024-01-21 02:00:04 -0600
commit829305aa5665edd09e4d7497429bc7f441c83b4b (patch)
treeca1261c85b2ceadf96c328acb4aa00b4ae1de3f9
parentfdc01e28d9f45e923bdbc783f957e5b87f108659 (diff)
compiles and opens
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--Makefile3
-rw-r--r--main.go6
2 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 65e800b..8a45473 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,9 @@ run: build
# ./control-panel-dns --tmp-log
./control-panel-dns
+stderr: build
+ ./control-panel-dns >/tmp/witgui.log.stderr 2>&1
+
goimports:
goimports -w *.go
diff --git a/main.go b/main.go
index e85b2c8..a05ee6d 100644
--- a/main.go
+++ b/main.go
@@ -42,8 +42,6 @@ func main() {
me.myGui = gui.New()
me.myGui.LoadToolkit("andlabs")
- log.Sleep(1)
- panic("test")
me.myGui.InitEmbed(resToolkit)
me.myGui.Default()
@@ -66,6 +64,10 @@ func main() {
debugger.DebugWindow()
}()
}
+ me.window.Toggle()
+ log.Sleep(1)
+ me.window.Toggle()
+ log.Sleep(1)
log.Sleep(me.artificialSleep)