summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-03 12:40:31 -0600
committerJeff Carr <[email protected]>2024-01-03 12:40:31 -0600
commite14770e94c9ec126a3d418d6d2b2f15ef8cf1607 (patch)
tree12b223cbe9cb9c6ef98b23d8bf6ae96e2040b3d7 /main.go
parent1324717de0a1ccd830ca34aa03e0faa9e6d93a83 (diff)
fixed stuff
Signed-off-by: Jeff Carr <[email protected]>
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()