use 'gui/debugger'

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-03 14:41:03 -06:00
parent 5e485f20d9
commit eb14f1d21f
4 changed files with 10 additions and 6 deletions

View File

@ -1,14 +1,14 @@
run: build
./control-panel-cloudflare
./control-panel-cloudflare --gui-debug
build-release:
build-and-update:
go get -v -u -x .
go build
go build -v -o control-panel-cloudflare
./control-panel-cloudflare
build:
GO111MODULE="off" go get -v -x .
GO111MODULE="off" go build
go get -v -x .
go build -v -o control-panel-cloudflare
update:
GO111MODULE="off" go get -v -u -x .

View File

@ -6,7 +6,7 @@ import (
"bufio"
"strings"
"go.wit.com/control-panel-dns/cloudflare"
"go.wit.com/gui/cloudflare"
)
var configfile string = ".config/wit/cloudflare"

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module go.wit.com/control-panels/cloudflare
go 1.21.4

View File

@ -25,6 +25,7 @@ func main() {
// draw the cloudflare control panel window
win := cloudflare.MakeCloudflareWindow(myGui)
win.SetText(title)
win.Show()
// This is just a optional goroutine to watch that things are alive
gui.Watchdog()