Repository navigation
Sunpack v1.5.2
中文
本次热修复主要解决 Watch 在下载、重命名和识别分卷时的竞态问题,并新增日语、韩语和繁体中文支持。
修复与优化
- 修复 Watch 的文件重命名竞态。 从同一个文件句柄读取文件属性和标识,避免文件在检查途中被重命名或替换时,把旧文件的状态记录到另一条路径。
- 修复分卷下载时的就绪判断。 仍被下载器占用的临时分卷会等到关闭或重命名后再参与匹配;对其他可读分卷,仍由归档探测判断内容是否完整。
- 更早释放处理完成后不再需要的内存。 Worker 写入解压结果清单时逐条释放不再使用的路径和签名缓冲区;Watch 在同批其他任务仍在运行时,也能释放已完成任务独占的文件记录。共享记录保留到最后一个任务结束。
- 任务历史按载体区段分卡显示。 同一载体包含多个逻辑归档时,GUI 为各区段显示独立卡片,分别列出其实际分卷和处理状态。
语言支持
- 新增日语、韩语和繁体中文,覆盖 CLI、GUI、资源管理器右键菜单和安装程序,并提供对应语言的 README 和文档。首次安装时,Sunpack 默认沿用安装语言;升级时保留已有的语言偏好。
English
This hotfix addresses Watch race conditions involving downloads, file renames, and split archives. It also adds Japanese, Korean, and Traditional Chinese support.
Fixes and improvements
- Fixed a file-rename race in Watch. Watch reads file metadata and identity from the same open handle so a rename or replacement during inspection cannot attach the old file’s state to a different path.
- Fixed readiness checks for split archives still being downloaded. Temporary volumes still held open by a downloader wait until they are closed or renamed before being considered for matching. Other readable volumes are still checked for completeness by archive discovery.
- Released unused memory sooner. The worker frees path and signature buffers as it writes each extraction manifest entry. Watch releases file records owned only by completed tasks even while other tasks in the same batch are still running. Shared records stay until their last task finishes.
- Displayed separate history cards for embedded archive segments. When one carrier contains multiple logical archives, each segment gets its own GUI task card with its volume list and processing status.
Language support
- Added Japanese, Korean, and Traditional Chinese to the CLI, GUI, File Explorer context menu, and installer, with localized READMEs and documentation. Fresh installs use the installer language by default; upgrades preserve the existing language preference.