From be2ef984c15d47178e7f526e6ac5c1def09b30df Mon Sep 17 00:00:00 2001 From: Rafael Soley <110256307+byrafael@users.noreply.github.com> Date: Thu, 4 Jun 2026 17:21:37 -0600 Subject: [PATCH] fix: add Zen.app as macOS detection path for Zen browser 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 --- pkg/browser/browsers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/browser/browsers.go b/pkg/browser/browsers.go index b1a49550..7d6a529c 100644 --- a/pkg/browser/browsers.go +++ b/pkg/browser/browsers.go @@ -66,7 +66,7 @@ var SafariPathMac = []string{"/Applications/Safari.app/Contents/MacOS/Safari"} var ArcPathMac = []string{"/Applications/Arc.app/Contents/MacOS/Arc"} -var ZenPathMac = []string{"/Applications/Zen Browser.app/Contents/MacOS/zen"} +var ZenPathMac = []string{"/Applications/Zen.app/Contents/MacOS/zen", "/Applications/Zen Browser.app/Contents/MacOS/zen"} var ZenPathLinux = []string{`/usr/bin/zen-browser`, `/opt/zen-browser/zen`} var ZenPathWindows = []string{`\Program Files\Zen Browser\zen.exe`}