更新功能

This commit is contained in:
李琦
2026-08-14 17:50:37 +08:00
parent 2f5ce02608
commit 19df9f2bfd
9 changed files with 566 additions and 9 deletions

View File

@@ -54,4 +54,9 @@ const (
ConfKeyAIDeepSeekKey = "ai_deepseek_key" // DeepSeek API Key
ConfKeyAIDeepSeekBase = "ai_deepseek_base" // DeepSeek 接口地址
ConfKeyAIDeepSeekModel = "ai_deepseek_model" // DeepSeek 模型名
// 桌面端版本升级配置(后台可改,桌面端启动时与菜单「检查更新…」会拉取)
ConfKeyAppVersion = "app_version" // 桌面端最新版本号(语义化,如 1.0.1
ConfKeyAppDownloadURL = "app_download_url" // 最新安装包下载地址https://...
ConfKeyAppReleaseNotes = "app_release_notes" // 更新说明(一行简短文案,桌面端弹窗展示)
ConfKeyAppForceUpdate = "app_force_update" // 是否强制更新1=强制 0=不强制(强制时桌面端不允许跳过)
)