fix(packaging): Windows 覆盖升级保留已下载模型 - #52
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #51
变更摘要
/S、被动/P与/UPDATE /P升级均默认保留 Faster-Whisper 模型。根因
旧 CaptionNest 的
NSIS_HOOK_POSTUNINSTALL无条件删除模型目录。Tauri GUI 覆盖升级默认可能先调用已安装的旧uninstall.exe,因此仅修复新卸载器无法保护从受影响版本进行的第一次升级。最终验证
Exact HEAD:
3ffb05117ffd2c18896155bbfa148ebbd2f9b891CI:run 29850089551
/S、/P、/UPDATE /P、当前卸载取消/保留/明确删除。small模型报告为ready。289 passed;定向 packaging/workflow25 passed;强制 NSIS10 passed;Web lint/test/build、Ruff、Cargo fmt/check、PowerShell parse、diff check 全部通过。安全边界