实现自动下载升级版本

This commit is contained in:
刘祥超
2023-06-13 20:52:37 +08:00
parent 43570f20b5
commit 6607c41823
13 changed files with 380 additions and 40 deletions

View File

@@ -15,6 +15,9 @@ func init() {
Prefix("/settings/updates").
GetPost("", new(IndexAction)).
Post("/update", new(UpdateAction)).
Post("/ignoreVersion", new(IgnoreVersionAction)).
Post("/resetIgnoredVersion", new(ResetIgnoredVersionAction)).
GetPost("/upgrade", new(UpgradeAction)).
EndAll()
})
}