Skip to content

v0.1.1: feat: 版本检查与自更新、检查更新 i18n、回复国际化等

Choose a tag to compare

@master1Sun master1Sun released this 09 Sep 03:11
· 32 commits to master since this release
- 新增 src/host/updater.ts:从 GitHub master1Sun/dsh-QQbot(master 分支)检查新版本并自动更新安装目录(先备份到 .update-backup/,raw.githubusercontent 不可达时回退 jsDelivr 镜像)
- admin.ts 新增 RPC update.check / update.apply
- 设置页版本号旁新增「检查更新」按钮:有新版自动更新并提示重启生效,无新版提示暂无新版本;页面级提示条与面板间距修复(qbot-updateNotice)
- 检查更新文案接入 i18n(精确词条 + 5 条插值动态规则)
- 回复国际化(reply-i18n):host 系统文案按 replyLocale 输出,新增 src/shared/reply-i18n.ts
- 其余:tools/commands/schedule/store-file/config 等配套调整,版本号 0.1.0 → 0.1.1