From 829305aa5665edd09e4d7497429bc7f441c83b4b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 21 Jan 2024 02:00:04 -0600 Subject: [PATCH] compiles and opens Signed-off-by: Jeff Carr --- Makefile | 3 +++ main.go | 6 ++++-- 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)