feat(原生桌面): 优化更新错误文案
build.yaml / build (push) Successful in 47s

This commit is contained in:
xiaoqidun committed 2026-10-23 22:26:30 +08:00
1 parent 7682a7dd5d
commit 571f8426fc
1 file changed
+1 -1
+1 -1
View File
@@ -620,7 +620,7 @@ func applicationUpdate(ctx context.Context, version, endpoint string) (bool, err
} }
latest := response.Header.Get("X-OFDGo-Build-Version") latest := response.Header.Get("X-OFDGo-Build-Version")
if latest == "" { if latest == "" {
return false, errors.New("未提供构建版") return false, errors.New("缺少构建版本")
} }
return latest != version, nil return latest != version, nil
} }