set git pull to have no gui
This commit is contained in:
parent
bd92626107
commit
fe5045eb05
4
Makefile
4
Makefile
|
@ -2,8 +2,8 @@
|
||||||
# and are developing so it sets export GO111MODULE=off
|
# and are developing so it sets export GO111MODULE=off
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
reset
|
# reset
|
||||||
./autotypist
|
# ./autotypist
|
||||||
|
|
||||||
build:
|
build:
|
||||||
echo "build it!"
|
echo "build it!"
|
||||||
|
|
6
main.go
6
main.go
|
@ -18,8 +18,10 @@ func main() {
|
||||||
me = new(autoType)
|
me = new(autoType)
|
||||||
|
|
||||||
me.myGui = gui.New()
|
me.myGui = gui.New()
|
||||||
me.myGui.InitEmbed(resources)
|
if !myargv.GitPull {
|
||||||
me.myGui.Default()
|
me.myGui.InitEmbed(resources)
|
||||||
|
me.myGui.Default()
|
||||||
|
}
|
||||||
|
|
||||||
me.autotypistWindow = me.myGui.NewWindow("autotypist: it types faster than you can.")
|
me.autotypistWindow = me.myGui.NewWindow("autotypist: it types faster than you can.")
|
||||||
me.mainbox = me.autotypistWindow.NewBox("bw hbox", true)
|
me.mainbox = me.autotypistWindow.NewBox("bw hbox", true)
|
||||||
|
|
28
repoview.go
28
repoview.go
|
@ -75,21 +75,21 @@ func (r *repoWindow) repoMenu() *gui.Node {
|
||||||
|
|
||||||
box2 := hbox.Box().Vertical()
|
box2 := hbox.Box().Vertical()
|
||||||
/*
|
/*
|
||||||
box2.NewButton("merge all user to devel", func() {
|
box2.NewButton("merge all user to devel", func() {
|
||||||
r.Disable()
|
r.Disable()
|
||||||
if !r.mergeAllUserToDevel() {
|
if !r.mergeAllUserToDevel() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
r.Enable()
|
r.Enable()
|
||||||
})
|
})
|
||||||
|
|
||||||
box2.NewButton("merge all devel to main", func() {
|
box2.NewButton("merge all devel to main", func() {
|
||||||
r.Disable()
|
r.Disable()
|
||||||
if !r.mergeAllDevelToMain() {
|
if !r.mergeAllDevelToMain() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
r.Enable()
|
r.Enable()
|
||||||
})
|
})
|
||||||
*/
|
*/
|
||||||
|
|
||||||
box2.NewButton("merge it all", func() {
|
box2.NewButton("merge it all", func() {
|
||||||
|
|
Loading…
Reference in New Issue