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
|
||||
|
||||
all: build
|
||||
reset
|
||||
./autotypist
|
||||
# reset
|
||||
# ./autotypist
|
||||
|
||||
build:
|
||||
echo "build it!"
|
||||
|
|
2
main.go
2
main.go
|
@ -18,8 +18,10 @@ func main() {
|
|||
me = new(autoType)
|
||||
|
||||
me.myGui = gui.New()
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue