Repository navigation
fix(desktop): 启动准备期间隐藏应用后保持后台运行 - #247
Merged
freedomkk-qfeng merged 13 commits intoOct 31, 2026
Merged
Conversation
4 tasks done
Contributor
Author
JJasonSun
marked this pull request as ready for review
October 27, 2026 10:28
同步 main aa18a06 后,按当前源文件集重新生成回执,保留原 createdAt 与已审查字段。
macOS 14 runner 将于 2026-11-02 移除;先将该作业迁移到 macos-26, 并按新的源文件集刷新源码回执。
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.
Summary
Closes #184.
macOS 启动准备期间、主窗口首次显示之前,从 Dock 隐藏应用后,后台就绪仍会显示窗口并覆盖当前应用。首次主窗口及配置/迁移准备页自动显示前,现在检查应用是否已隐藏;用户主动唤回仍打开原窗口并可正常输入。
Evidence
0.4.9-dev.20261026.92,macOS 27.2/arm64,无调试器。准备中从 Dock 隐藏,准备完成后观察 10 秒,窗口自行弹出并覆盖当前窗口。After: 基于该候选重建修复壳的独立签名副本,人工确认准备完成后观察 10 秒未弹窗;Dock 唤回、关闭窗口后从托盘唤回均可输入,正常退出且无残留进程。
aa18a06前): 使用 Node 24.22.1 重建原生入口后,启动显示、安装入口、窗口行为、退出、资源清理及教程菜单的 61 项检查全部通过,无跳过项。检查同时覆盖隐藏应用和后台就绪后探测教程菜单,Windows 不调用 macOS 隐藏接口。源码快照审计和git diff --check通过。0.4.9-dev.20261027.7(6cc6767),Windows x64、macOS arm64、macOS x64 的装配及启动冒烟均通过。ARM 完整 ZIP 已核对哈希、严格深度签名及 68 项源码适配回执;去除构建来源注释和模块来源路径差异后,启动可执行代码与人工验收副本一致。Intel Mac 仅记录 CI 验证。.7完整包已验证普通启动与中文输入、加载中最小化后保持 10 秒不弹出、重复启动及任务栏/托盘唤回原窗口、配置失败修正后重试、准备中正常退出。详见 Windows 验收结论。mainaa18a06,按当前源文件集重新生成source-receipt.json并通过--verify-receipt。本地定向测试(startup-presentation、installer-cleanup、window-visibility、desktop-exit、lifecycle 与源码审计)48 通过、21 跳过、0 失败。44871efb的Build EduWork source、Validate macOS updater和 DSH 集成的 Windows 作业通过,源码快照校验通过;native-host (macos-14)在排队阶段被取消(GitHub 将于 2026-11-02 移除 macOS 14 runner,基线迁移见 #260)。详见 检查列表。Merge Danger
Door: two-way。可回退;配置、数据格式和依赖锁无变化。
Blast Radius: 桌面启动。影响 macOS 首次主窗口及准备页的自动显示,Windows 沿用原有显示条件。
已同步至
mainaa18a06,无合并冲突;除 macOS 14 runner 取消外的检查通过,PR 等待维护者合并。合入main后关闭 #184。