fix: preserve config across Velopack updates

This commit is contained in:
chen qiang
2026-08-26 09:08:47 +08:00
parent a1a0f58ae1
commit 6cc8e782b9
8 changed files with 137 additions and 21 deletions
+8
View File
@@ -1,5 +1,13 @@
# 更新记录
## 1.0.18 - 2026-08-26
### 修复
- 将 `config.ini` 从 Velopack 每次更新都会整体替换的 `current/` 目录迁移到与 `Update.exe` 同级的持久目录。
- 增加 Velopack 更新后快速回调:从更新器尚未清理的旧 `current/` 备份中恢复 `config.ini`,兼容 1.0.16 等旧版本首次升级。
- 更新前临时备份和更新后恢复统一读写持久目录中的 `config.ini`,后续升级不再依赖 `current/` 内的配置文件。
## 1.0.17 - 2026-08-26
### 新增