Files
nyaterm/scripts/release/notes/portable-update-recovery.md
T
Kang f89a8edb8a feat(portable): implement Windows portable update handling and validation (#1089)
- Added support for testing and validating portable updates on Windows, including handling ARM64 executables.
- Introduced a new module for managing the portable package contract, ensuring consistency between the Rust and Python packaging processes.
- Updated the release workflow to include tests for portable ZIP files, validating their structure and contents against the defined contract.
- Enhanced error handling for portable updates, including recovery mechanisms for failed updates.
- Added comprehensive tests to ensure the integrity and correctness of portable package handling.

This update significantly improves the reliability and user experience of the portable updater, addressing previous issues with ConPTY and ActiveX file handling.
2026-11-01 19:41:17 +08:00

626 B
Raw Blame History

Windows 便携版升级说明(#1089)

修复便携版更新器拒绝正常发行包中的 ConPTY 和 ActiveX 文件的问题。 更新会一并替换主程序、全部辅助程序和 ConPTY;文件替换失败时恢复旧文件, 回滚失败时保留恢复备份并停止自动重启。

已安装的旧版更新器仍需手动升级一次。 下载对应 x64 或 ARM64 的完整便携版 ZIP,关闭 NyaTerm,并先备份原来的整个 data/ 目录。解压后替换完整程序文件集, 包括辅助程序和 conpty/;完整保留原来的 data/,不要用 ZIP 内的空数据目录覆盖它。