add updater

This commit is contained in:
aynakeya
2024-05-06 08:17:30 +08:00
parent 68c7c591ff
commit f24b3e73fb
10 changed files with 130 additions and 85 deletions

View File

@@ -5,6 +5,7 @@ type _GeneralConfig struct {
Width float32
Height float32
Language string
InfoApiServer string
AutoCheckUpdate bool
ShowSystemTray bool
PlayNextOnFail bool
@@ -17,6 +18,7 @@ func (c *_GeneralConfig) Name() string {
var General = &_GeneralConfig{
Language: "zh-CN",
ShowSystemTray: false,
InfoApiServer: "http://localhost:9090",
AutoCheckUpdate: true,
Width: 960,
Height: 480,