Skip to content

Books+ 0.6.2 — 损坏书目文件隔离与写入加固 / Corrupt JSON isolation & write hardening

Latest

Choose a tag to compare

@EveningStudy EveningStudy released this 20 Nov 12:38

Books+ 0.6.2 · 损坏书目文件隔离与写入加固

  • 修复:云盘同步导致 catalog/extra/ 中单个书目 JSON 损坏时,此前会在重开应用后导致整座书库无法加载,且报错不包含文件名。现改为逐文件隔离并显示具体文件名;Mac 端 Apple Books 同步会在校验正文 SHA-256 一致后自动重建自己发布的损坏书目文件;同时为原子写入补充隐藏临时文件与 fsync 刷盘,并对损坏的本机缓存自动备份恢复。感谢 @Luc-Webster 反馈(#2)。

下载与验证

  • Windows x64:推荐 Setup EXE,也提供便携 EXE。
  • Apple Silicon Mac:下载 DMG,拖入「应用程序」。
  • 从 0.6.1 直接升级,书库和设置保持不变。
  • Windows 和 macOS CI(44734467805):85 项单元/协议测试(新增损坏 JSON 隔离、缓存恢复与自动重建回归测试)、阅读接力、中英文切换、多文件夹验收及 Mac 打包应用验收通过。

Windows 包未签名;Mac 使用 ad-hoc 签名、未经 Apple 公证,当前通过发布页手动更新。

中文使用说明 · English guide


Corrupt JSON isolation & write hardening

A single damaged book metadata file under catalog/extra/ previously prevented the entire library from reopening without naming the file. Books+ now isolates corrupt sidecar files individually with filenames, hardens atomic JSON writes with hidden temp files and fsync, resets damaged local caches safely, and lets Mac Apple Books sync rebuild its own damaged sidecars after verifying the book file's SHA-256. Thanks to @Luc-Webster for the report (#2).

Windows and macOS CI (44734467805) passed all 85 unit/protocol tests and real Electron acceptance. Windows is unsigned; Mac uses ad-hoc signing without notarization and currently requires manual updates.