Add update check, upgrade dependencies and format code and change ver
This commit is contained in:
@@ -147,6 +147,9 @@ var failBytes []byte
|
||||
//go:embed assets/please_wait.gif
|
||||
var pleaseWaitBytes []byte
|
||||
|
||||
//go:embed assets/update.png
|
||||
var updateBytes []byte
|
||||
|
||||
// var clientAssets map[string]gdk.Paintabler = make(map[string]gdk.Paintabler)
|
||||
var clientAssets sync.Map
|
||||
|
||||
@@ -219,6 +222,7 @@ func init() {
|
||||
"jabber": jabberBytes,
|
||||
"fail": failBytes,
|
||||
"please_wait": pleaseWaitBytes,
|
||||
"update": updateBytes,
|
||||
} {
|
||||
loadAsset(key, data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user