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)