feat(update): 增强更新提示信息,添加非git源的变更文件说明

This commit is contained in:
HibiKier 2025-08-01 15:39:35 +08:00
parent de92d04dcc
commit 3c865c6eb7

View File

@ -265,7 +265,8 @@ class UpdateManager:
return (
f"版本更新完成!\n"
f"版本: {cur_version} -> {result.new_version}\n"
f"变更文件个数: {len(result.changed_files)}\n"
f"变更文件个数: {len(result.changed_files)}"
f"{'' if source == 'git' else '(阿里云更新不支持查看变更文件)'}\n"
"请重新启动真寻以完成更新!"
)