Skip to content

Jiyue 0.5.5

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Dec 11:32

中文

设置页主题预览卡布局修复与 Windows 自更新重启链路加固

  • 修复「设置 → 外观 → 主题」色卡被挤压成细竖条的问题(#3):为 setting_card、form_block、form_row、form_row_with_extra、设置滚动区与 appearance_section 补齐全宽约束(.w_full()),并为 theme_card 预览框补充最小宽度兜底与独立居中标题布局,确保 5 张主题预览卡始终等宽铺满。
  • 加固应用内自更新与重启链路:
    • 触发更新重启前先调用 prepare_exit 落盘未保存笔记、恢复日志与快照,并在退出前清理当前 PID 的单实例锁文件(instance.lock),避免跳过 Drop 导致的重启竞态。
    • Windows 便携版 ZIP 升级改为先解压至独立临时目录再带最长 10 秒重试覆盖安装目录,避免原地覆盖冲突导致程序文件不完整;MSI 静默升级增加详细安装日志(%LOCALAPPDATA%\Jiyue\cache\updates\update.log)、退出码记录与注册表 InstallFolder 路径回退,并在重启时显式指定工作目录。

English

Settings Theme Card Layout Fix & Windows Auto-Update Restart Hardening

  • Fix Settings → Appearance → Theme preview cards collapsing into narrow vertical bars (#3): Added explicit full-width constraints (.w_full()) across setting_card, form_block, form_row, form_row_with_extra, the settings scroll body, and appearance_section, plus a minimum preview width fallback and centered label container in theme_card so all five theme swatches always render evenly at full width.
  • Harden in-app auto-update and restart flow:
    • Call prepare_exit before launching the updater so dirty notes, recovery journals, and snapshots flush cleanly, and remove the current PID's instance.lock before exiting to prevent single-instance restart races.
    • Stage Windows portable ZIP extraction into a dedicated temporary directory before retrying file copies (up to 10 s) into the install directory, and add MSI verbose logging (%LOCALAPPDATA%\Jiyue\cache\updates\update.log), exit-code logging, HKCU\Software\Jiyue\Install\InstallFolder fallback, and explicit -WorkingDirectory on relaunch.

未签名构建,请用 SHA256SUMS 校验文件。 / Unsigned builds: verify the files against SHA256SUMS.

Incomplete release: the build failed for: macOS. Their files are missing.