Stability fixes, profile path and more.

Fixed a bunch of data races which should lead in stability improvements.

Added possibility to specify game profile path within profile item.

Added Urban Terror 4.3.2.
This commit is contained in:
2017-05-08 23:38:54 +05:00
parent 1836c46d66
commit 1e676437d8
15 changed files with 136 additions and 32 deletions

View File

@@ -17,6 +17,7 @@ import (
// github
"github.com/mattn/go-gtk/glib"
"github.com/mattn/go-gtk/gtk"
)
type Eventer struct {
@@ -55,6 +56,14 @@ func (e *Eventer) LaunchEvent(event string, data map[string]string) error {
return false
})
for {
if gtk.EventsPending() {
gtk.MainIteration()
} else {
break
}
}
return nil
}