fix: add Zen.app as macOS detection path for Zen browser#946
Open
byrafael wants to merge 1 commit into
Open
Conversation
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>
c982140 to
be2ef98
Compare
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.
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
Zen.appas the primary macOS path for Zen Browser detectionTesting
Verified on macOS with Zen Browser installed at
/Applications/Zen.app—granted browser setnow auto-detects the installation without prompting for a manual path.