set git pull to have no gui

This commit is contained in:
Jeff Carr 2024-11-13 21:30:42 -06:00
parent bd92626107
commit fe5045eb05
3 changed files with 20 additions and 18 deletions

View File

@ -2,8 +2,8 @@
# and are developing so it sets export GO111MODULE=off
all: build
reset
./autotypist
# reset
# ./autotypist
build:
echo "build it!"

View File

@ -18,8 +18,10 @@ func main() {
me = new(autoType)
me.myGui = gui.New()
me.myGui.InitEmbed(resources)
me.myGui.Default()
if !myargv.GitPull {
me.myGui.InitEmbed(resources)
me.myGui.Default()
}
me.autotypistWindow = me.myGui.NewWindow("autotypist: it types faster than you can.")
me.mainbox = me.autotypistWindow.NewBox("bw hbox", true)

View File

@ -75,21 +75,21 @@ func (r *repoWindow) repoMenu() *gui.Node {
box2 := hbox.Box().Vertical()
/*
box2.NewButton("merge all user to devel", func() {
r.Disable()
if !r.mergeAllUserToDevel() {
return
}
r.Enable()
})
box2.NewButton("merge all user to devel", func() {
r.Disable()
if !r.mergeAllUserToDevel() {
return
}
r.Enable()
})
box2.NewButton("merge all devel to main", func() {
r.Disable()
if !r.mergeAllDevelToMain() {
return
}
r.Enable()
})
box2.NewButton("merge all devel to main", func() {
r.Disable()
if !r.mergeAllDevelToMain() {
return
}
r.Enable()
})
*/
box2.NewButton("merge it all", func() {