Repository navigation
feat(updates): 软件更新由用户开关控制,开发版保留更新能力 - #166
Merged
Merged
Conversation
This was referenced Oct 16, 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.
正式版和开发版都应由用户决定是否启用软件更新。现在设置页提供“启用软件更新”开关,默认开启、保存用户选择;关闭后停止软件检查,签名配置与 Skills 更新仍独立运行。原更新源和渠道继续保留,旧
provider: disabled作为首次迁移时的关闭选择,用户可直接从界面重新开启。开发版不再因版本后缀而停用更新组件。打包与发布同时验证 Windows 更新契约、macOS Sparkle 及开发渠道元数据;新开发版沿用普通应用身份与数据目录,保留历史 Alpha 数据的安全接管。GitHub prerelease 与非 Latest 标记保持。
Windows 更新器暴露真实异步 busy 状态;更新检查、下载或已有安装计划时不能抢先关闭或切换渠道。运行中开启不会立即执行旧安装计划。macOS 复用同一原生更新实例,检查延后安装状态。开关使用独立偏好文件,不与更新器保存的渠道文件互相覆盖。
验证:共享控制器与更新/发布回归、Go 更新器测试、实际 React 页面鼠标与键盘操作、重载后的选择保持;新编译 Windows helper 的真实管道验证(隔离目录、只读检查、不执行安装)。独立审查已复核非法偏好与 busy 竞态修正,精确提交审查及 CI 继续进行。原生 macOS 与整包升级仍由后续候选验收确认。