Skip to content

fix(den-web): describe the real macOS installer steps - #3121

Merged
benjaminshafii merged 1 commit into
devfrom
fix/install-step-mac-copy
Jul 25, 2026
Merged

fix(den-web): describe the real macOS installer steps#3121
benjaminshafii merged 1 commit into
devfrom
fix/install-step-mac-copy

Conversation

@benjaminshafii

Copy link
Copy Markdown
Member

Step 2 of the org install guide told macOS users to "Drag OpenWork into Applications, then open it". That is not what happens.

Why it was wrong

The published disk image contains exactly one item — Install OpenWork.app — and no Applications symlink. apps/installer/scripts/dmg-layout.mjs positions that single icon, and mounting the real v0.18.1 artifact confirms it: the volume root holds the installer app and nothing else. So there is nothing to drag anywhere. The user double-clicks the disk image, double-clicks Install OpenWork, and chooses Install in the window that appears (apps/installer/src/ui-html.ts renders that primary button). The installer then installs the app.

The same mix-up ran through the neighbouring copy, which credited the app with the installer's work: the OS warning is about opening the installer, and it is the installer that opens the browser to approve the computer.

What changed

  • macOS action 2 is now "In the window that opens, double-click Install OpenWork, then choose Install." The name is hardcoded rather than interpolated from appName on purpose: the generic installer's bundle is always Install OpenWork, and organization branding only changes the installer's window title at runtime, so a white-labelled org would otherwise be told to look for an icon that does not exist.
  • Windows action 2 is now "Choose Install in the installer window" instead of "Follow the setup prompts, then open OpenWork" — the .exe is the installer and it has an Install button, not a prompt chain.
  • Trust notes now say the OS may warn before opening the installer.
  • The blue handoff note reads "The installer continues from here / It installs {appName} and opens a sign-in page in your browser so you can approve this computer."
  • Step 2's subtitle now credits the installer rather than the app.

The Open {appName} button is untouched and still correct. It navigates to openwork://connect?code=…, a scheme owned solely by the desktop app (app.setAsDefaultProtocolClient("openwork") in apps/desktop/electron/main.mjs); the installer registers no scheme at all and can only open http/https outward. That deeplink therefore cannot and should not address the installer, which is exactly why the button sits behind "Already have {appName} on this computer?".

Testing

  • pnpm typecheck in ee/apps/den-web — passes
  • Rendered both platforms against a mocked install-config and read the copy back out of the DOM, confirming the macOS branch shows the .dmg with the double-click-Install steps and the Windows branch shows the .exe with the SmartScreen note
  • Checked the eval flows for assertions on the changed strings — none of the changed copy is asserted, so no eval updates were needed

Made with Cursor

Step 2 told macOS users to drag the app into Applications. The disk image
contains a single item, Install OpenWork, and no Applications shortcut, so
there is nothing to drag: you double-click that installer and choose Install.

Also stop attributing the installer's work to the app. The downloaded file is
the installer, it is what the OS warns about, and it is what installs the app
and opens the browser to approve this computer.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-app Ready Ready Preview, Comment Jul 25, 2026 3:17pm
openwork-den Ready Ready Preview, Comment Jul 25, 2026 3:17pm
openwork-den-worker-proxy Ready Ready Preview, Comment Jul 25, 2026 3:17pm
openwork-landing Ready Ready Preview, Comment, Open in v0 Jul 25, 2026 3:17pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
openwork-diagnostics Skipped Skipped Jul 25, 2026 3:17pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant