Skip to content

[feat] desktop: show install guidance in the macOS DMG - #470

Merged
FayeSpica merged 5 commits into
ThinkFlowLab:mainfrom
FayeSpica:feat/macos-dmg-install-guide
Nov 24, 2026
Merged

FayeSpica merged 5 commits into
ThinkFlowLab:mainfrom
FayeSpica:feat/macos-dmg-install-guide

Conversation

@FayeSpica

@FayeSpica FayeSpica commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Show bilingual drag-to-install and first-launch guidance in the macOS DMG’s Finder window.
  • Document macOS first launch and troubleshooting in the English and Simplified Chinese installation guides.
  • Update release smoke to complete the current welcome flow using bundled OpenCode and a local WAV, then verify project and media persistence across three launches.

Linked issue

Refs #364

  • A related issue is linked.

Labels

  • type:feat, area:desktop, area:install

Test plan

  • macOS 27.0.1 on Apple silicon (e7f3f69e). Built the app from source using the media tools from the official v0.1.5 installer. Built and mounted the DMG and verified the 1×/2× background, Finder metadata, Applications link, and SHA-256.
  • Ran the release smoke against the app copied from the DMG. First launch connected the bundled OpenCode harness and imported a WAV through the welcome flow. All three launches passed, including media, project reopen and sidebar checks. Strict app signature verification passed before and after smoke.
  • Ran npm test --prefix apps/desktop with the packaged runtime (eight passed, including the packaged Host test), npm run check:i18n and smoke script syntax checks. All 14 PR checks passed on the same SHA.
  • GitHub rejected the fork's tagged release run with HTTP 422. Windows native packaging and clean-Mac Finder/Gatekeeper acceptance remain unverified.

Evidence that it works

Layout preview composed using the DMG background artwork and Finder icons.

OpenDirector macOS DMG with bilingual install and first-launch guidance

  • Media attached.

Provider verification

  • No real-provider calls were made.

Bilingual UI

  • The DMG artwork and installation guide include Simplified Chinese and English.

Signed-off-by: Weiming Liao <liaowm5@gmail.com>
@FayeSpica FayeSpica added type:feat New capability or behaviour area:install Install, startup and environment support area:desktop Desktop integration / 桌面集成 labels Nov 23, 2026
@FayeSpica
FayeSpica marked this pull request as ready for review November 23, 2026 10:38
Signed-off-by: Weiming Liao <liaowm5@gmail.com>
@github-actions github-actions Bot added area:ci Continuous integration and checks area:docs Documentation / 文档 area:i18n Localisation and bilingual UI labels Nov 23, 2026
@github-actions
github-actions Bot requested a review from wuzhf9 November 23, 2026 11:33
Signed-off-by: Weiming Liao <liaowm5@gmail.com>

@wangtiance wangtiance left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已审阅 fd5b1d1 的 DMG 配置、发布工作流和双语安装说明。dmgbuild 版本固定,构建前已安装 uv;工作流会检查 Finder 元数据、背景和 Applications 链接,并对从镜像复制出的 App 在冒烟前后验证严格签名。本轮在这些文本变更中未确认新的阻塞代码缺陷。当前 head 的 14 项 GitHub 检查均成功,但这些结果不包含实际 macOS DMG 发布任务;本轮也未在 Mac 上运行或目视验收背景图。

发布前仍有一项实际阻塞需要跟踪:PR 已记录当前源码冒烟停在 welcome dialog。所读 smoke-window.mjs 仍点击 .cw-welcome-secondary 后等待画布;如果 #428 已移除旧的 Skip 路径,这段测试将无法完成,而 desktop-release.yml 在上传 DMG 前必须通过它。建议在独立修复中让冒烟走当前欢迎流程,保持首次启动及后续重启的持久化断言,再对包含本 PR 的准确 SHA 跑通构建、挂载、复制、三次启动及签名检查。不要通过跳过冒烟来放行,也不要用 v0.1.5 控制组通过代替当前源码通过。

Finder 实际布局及浏览器下载后带 quarantine 的首次启动仍按 PR 描述保留为待验收;文档和合成预览不能证明这两项已经完成。

Signed-off-by: Weiming Liao <liaowm5@gmail.com>
Signed-off-by: Weiming Liao <liaowm5@gmail.com>

Copy link
Copy Markdown
Collaborator Author

Updated the welcome smoke test in e7f3f69e and verified locally that the project and imported media persist across two relaunches after onboarding from the rebuilt macOS arm64 DMG.

@FayeSpica
FayeSpica merged commit aff774a into ThinkFlowLab:main Nov 24, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci Continuous integration and checks area:desktop Desktop integration / 桌面集成 area:docs Documentation / 文档 area:i18n Localisation and bilingual UI area:install Install, startup and environment support type:feat New capability or behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants