Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS X: Google Chrome not detected #54

Open
kylegoetz opened this issue May 27, 2016 · 3 comments
Open

Mac OS X: Google Chrome not detected #54

kylegoetz opened this issue May 27, 2016 · 3 comments

Comments

@kylegoetz
Copy link

I'm running the latest non-Canary Chrome (50.0.2661.102 (64-bit) as per the chrome://help page). I get the message

No browser matching [chrome,chromium,opera] found in the system! If this is not true, submit a bug report on https://github.com/benderjs/browser-launcher2
Please open the URL manually in Chrome/Chromium/Opera or similar browser

OSX version is Yosemite.

@kylegoetz
Copy link
Author

kylegoetz commented May 27, 2016

Looking into the darwin directory, it looks like it detects Chrome via this command

mdfind "kMDItemCFBundleIdentifier=="com.google.Chrome"" | head -1

On my system, nothing is returned when I call this. This is because mdfind is dependent on Spotlight being enabled on your computer. This is not a safe assumption to make about OS X users. I will look into other ways to detect this.

(FWIW this was a similar bug reported in the original version of Browser Launcher: https://github.com/substack/browser-launcher/issues/23

@emveeoh
Copy link

emveeoh commented Jun 3, 2016

+1 ... I have Spotlight disabled on my Mac and have also bumped into this (feature) of not finding Chrome Canary nor Chrome Standard. Both are installed on my machine. ;)

@jhlee8804
Copy link

Thanks! Hooooooooouh!

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

No branches or pull requests

3 participants