Repository navigation
fix(updates): preserve update sources across prerelease installs - #164
Merged
Merged
Conversation
This was referenced Oct 18, 2026
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.
预发布版当前把
updates.provider=disabled写入初始配置。新装开发版后手动换装同基线正式版,会继续保留关闭更新;另一方面,Windows 从已有正式版覆盖安装开发版时,已有更新源又可能覆盖这个默认值,使开发版继续检查软件更新。将预发布暂停软件更新限定在运行时,保留包内和用户配置中的更新源。Windows 显式暂停时不启动更新器、不消费待安装事务;macOS 继续使用既有 Sparkle 开关。新装学校版从可信发行引导配置补齐默认更新源,避免只含渠道偏好的初始配置被误判为关闭更新。学校签名配置更新继续独立运行,用户明确关闭更新或自定义来源的选择保留。既有正式版的更新器启动错误处理不变。
验证:65 项相关测试通过,覆盖暂停时配置/待安装状态保持、后续正式版恢复正常启动路径、显式关闭、自定义源、旧 Alpha 迁移、渠道偏好、macOS 路径隔离、内容更新协调和首次配置校验。另对真实配置加载、签名内容激活/离线重启及开发版到正式版的路径进行独立复审;整包验收随后在新的 ECNU 开发候选中完成。
不替换已发布的 EduWork 0.4.4 安装包。