summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.go b/main.go
index b72a854..b1be1b0 100644
--- a/main.go
+++ b/main.go
@@ -14,7 +14,9 @@ import (
"embed"
"go.wit.com/log"
- "go.wit.com/gui"
+ "go.wit.com/gui/gui"
+ "go.wit.com/gui/debugger"
+
"github.com/miekg/dns"
)
@@ -44,6 +46,11 @@ func main() {
sleep(me.artificialSleep)
setupControlPanelWindow()
+ sleep(2)
+ if gui.ArgDebug() {
+ debugger.DebugWindow(myGui)
+ }
+
// forever monitor for network and dns changes
sleep(me.artificialSleep)
checkNetworkChanges()