mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
将 Vault/Git/MCP/AI、壳层主题密度、25 工具真实闭环与 desktopTest 638 项及 DIFF-065–471 文档/证据一并纳入仓库,便于持续对齐验收;产品窗 IME/冲突与三平台发行仍待验。 Co-authored-by: Cursor <cursoragent@cursor.com>
617 B
617 B
DIFF-397:恢复备份后按新设置重绑数据根
背景
zip 恢复会写回 settings 与 data/。若备份内 data.directory 与恢复前不同,BackupEngine.restore 仍按恢复前的有效根写盘,随后从磁盘加载的设置可能指向另一 dataRoot,但 AppDatabase 仍连接旧 SQLite 路径。
行为
restoreBackup在settingsRepository.load()后:ensureDataRootExists+database.rebindDataDirectories(dataDirectories())。- 撤销 MCP Vault 只读授权(与
updateSettings改data.directory一致)。
验收
- A03;
desktopTest --offline。