fix(update): make Windows self-updates reliable - #192
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.
问题
PR #176 修复后,Windows 自更新仍存在以下问题:
修复
改动集中在更新逻辑、专用 Windows helper 和相关测试,没有新增依赖,也未修改通用 daemon 启动和网络实现。
验证
Windows 本机共 69 项相关测试通过:
新增覆盖包括:
%、!、&、括号路径。cargo fmt --all -- --check和差异检查通过。Clippy 无新增告警,保留仓库已有告警。
Linux/macOS 未在本地执行测试。
Related: #176