Repository navigation
fix(desktop): 只显示 EduWork 的更新渠道入口 - #343
Merged
Merged
Conversation
Draft
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 #341
EduWork 目前在「通用设置 → 自动更新」里管理渠道。DSH 还会在检测到
updates.channels后注册另一个渠道选择器,并尝试读取桌面壳没有实现的 IPC,显示“无法读取更新渠道状态”。在公版和机构版共用的原生桌面装配层,从提供给页面的更新接口里省略
channels。上游设置页会自行跳过该控件。若以后采用上游渠道管理,可在同一处恢复这项能力。Windows 本地用锁定的 DSH 0.2.2-rc.3 源码构建外壳,在 Electron 44 的实际渲染进程验证渠道接口缺席、更新状态可读取且能收到变更通知。另有 34 项更新开关、渠道迁移和 Sparkle 适配测试通过。原生冒烟已加入对应断言,供 Windows 和 macOS CI 运行。