feat(api): 修复beta版本的更新检查

This commit is contained in:
2025-07-27 14:12:54 +08:00
parent 2aad0c65c2
commit 226d68cb1c
3 changed files with 65 additions and 7 deletions

View File

@@ -563,7 +563,7 @@ func (app *Application) executeCheckingState() (UpdateState, error) {
default:
fmt.Printf("检查更新类别:%v\n", updateChannel)
}
fmt.Printf("当前版本:%v", currentVer)
fmt.Printf("当前版本:%v\n", currentVer)
app.logger.Info("当前更新类别:" + updateChannel + ";当前版本:" + currentVer)
if err != nil {
app.logger.Error("检查更新失败: %v", err)