diff --git a/.gitignore b/.gitignore index 5a44dfc..89695a2 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ !*.go !go.* !myrepolist +!resources/myrepolist diff --git a/Makefile b/Makefile index 2cd0f54..10bd352 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,9 @@ all: build build: echo "build it!" - -mkdir -p plugins/ - -cp myrepolist plugins/ - -cp ~/go/src/go.wit.com/gui/toolkits/*.so plugins/ + -mkdir -p resources/ + -cp myrepolist resources/ + -cp ~/go/src/go.wit.com/gui/toolkits/*.so resources/ go install -v -x redomod: diff --git a/go.mod b/go.mod index 2455f6c..403d54a 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module go.wit.com/apps/myrepos go 1.21.4 require ( - go.wit.com/apps/control-panel-dns v0.12.2 + go.wit.com/apps/control-panel-dns v0.12.3 go.wit.com/gui/gadgets v0.12.5 go.wit.com/gui/gui v0.12.9 go.wit.com/gui/lib/repostatus v0.12.7 diff --git a/go.sum b/go.sum index a3d8a16..1b6ce31 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -go.wit.com/apps/control-panel-dns v0.12.2 h1:YkqiEbGcJIXX8n0L5sYsfDz3nd5/J5YaUTln+38VNOs= -go.wit.com/apps/control-panel-dns v0.12.2/go.mod h1:y+DRqorB3K/xAiDSil5cCVUalsJzMdUQuK9HambO0fQ= +go.wit.com/apps/control-panel-dns v0.12.3 h1:rjQE5YKyieRu6ARzwsNSSiRM9aN325O71MaHRuDUDiA= +go.wit.com/apps/control-panel-dns v0.12.3/go.mod h1:wV1THUmfQNaPYetXLSFnotc9m3/nplumk1yiT/yEW4U= go.wit.com/dev/alexflint/arg v1.4.5 h1:asDx5f9IlfpknKjPBqqb2qndE91Pbo7ZDkWUgddfMhY= go.wit.com/dev/alexflint/arg v1.4.5/go.mod h1:wnWc+c6z8kSdDKYriMf6RpM+FiXmo5RYp/t4FNi0MU0= go.wit.com/dev/alexflint/scalar v1.2.1 h1:loXOcbVnd+8YeJRLey+XXidecBiedMDO00zQ26TvKNs= diff --git a/main.go b/main.go index 5095bcb..d799834 100644 --- a/main.go +++ b/main.go @@ -12,7 +12,7 @@ import ( "go.wit.com/gui/lib/repostatus" ) -//go:embed plugins/* +//go:embed resources/* var resToolkit embed.FS func main() { @@ -133,6 +133,8 @@ func repoworld() { guiBranch.Add("guidevel") guiBranch.Add("jcarr") + // gofmt -w -r "go.wit.com/gui -> go.wit.com/gui/gui" . + buildOptions.NewLabel("only PERFECT") buildOptions.NewButton("Find", func () { log.Warn("delete every repo marked PERFECT") diff --git a/resources/myrepolist b/resources/myrepolist new file mode 100644 index 0000000..28853ee --- /dev/null +++ b/resources/myrepolist @@ -0,0 +1,15 @@ +go.wit.com/log + +go.wit.com/gui/widget +go.wit.com/gui/gui +go.wit.com/gui/toolkits +go.wit.com/gui/debugger + +go.wit.com/gui/gadgets +go.wit.com/gui/gadgets/repostatus +go.wit.com/gui/digitalocean +go.wit.com/gui/cloudflare + +go.wit.com/apps/control-panel-dns main +go.wit.com/apps/control-panel-vpn +go.wit.com/apps/autotypist