Skip to content

fix: add Zen.app as macOS detection path for Zen browser#946

Open
byrafael wants to merge 1 commit into
fwdcloudsec:mainfrom
byrafael:fix/zen-browser-app-path
Open

fix: add Zen.app as macOS detection path for Zen browser#946
byrafael wants to merge 1 commit into
fwdcloudsec:mainfrom
byrafael:fix/zen-browser-app-path

Conversation

@byrafael

@byrafael byrafael commented Jun 4, 2026

Copy link
Copy Markdown

Current Zen Browser releases on macOS install to /Applications/Zen.app, but the existing detection path only checks /Applications/Zen Browser.app. This causes granted browser set to never auto-detect the installation and always fall back to prompting the user for a manual path.

This PR adds /Applications/Zen.app/Contents/MacOS/zen (the new Zen Browser path) as the first candidate in ZenPathMac, while keeping the old path as a fallback for users on older installations.

Changes

  • pkg/browser/browsers.go: add Zen.app as the primary macOS path for Zen Browser detection

Testing

Verified on macOS with Zen Browser installed at /Applications/Zen.appgranted browser set now auto-detects the installation without prompting for a manual path.

Current Zen Browser releases install to /Applications/Zen.app rather
than /Applications/Zen Browser.app, causing granted to never auto-detect
the installation and always fall back to a manual path prompt.

Add the current app name as the first candidate while keeping the old
name for backwards compatibility with older installations.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@byrafael byrafael force-pushed the fix/zen-browser-app-path branch from c982140 to be2ef98 Compare June 4, 2026 23:30
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