修复解压缩zip的错误

This commit is contained in:
2025-10-30 17:58:49 +08:00
parent 607af816c4
commit 49c84b886b
4 changed files with 16 additions and 6 deletions

View File

@@ -17,7 +17,10 @@ func init() {
getDev, _ := g.Cfg().GetWithEnv(gctx.New(), "dev")
if !getDev.Bool() {
service.System().CheckUpdate()
err := service.System().CheckUpdate()
if err != nil {
g.Log().Errorf(gctx.New(), "检查更新失败:%v", err)
}
} else {
g.Log().Debugf(gctx.New(), "开发模式,不检查更新")
}