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

Support for detecting beta version of Chrome or Firefox on Mac #70

Open
pz325 opened this issue May 2, 2018 · 0 comments
Open

Support for detecting beta version of Chrome or Firefox on Mac #70

pz325 opened this issue May 2, 2018 · 0 comments

Comments

@pz325
Copy link

pz325 commented May 2, 2018

On Mac, we've installed beta version of Chrome or Firefox alongside with the main release.

However, james-browser-launcher detects only the main releases:

[ { name: 'firefox',
    version: '59.0.2',
    type: 'firefox',
    command: '/Applications/Firefox.app' },
  { name: 'chrome',
    version: '66.0.3359.139',
    type: 'chrome',
    command: '/Applications/Google Chrome.app' },
  { name: 'safari',
    version: '11.1',
    type: 'safari',
    command: '/Applications/Safari.app' } ]

Run mdfind kMDItemCFBundleIdentifier=="com.google.Chrome" gives:

/Applications/Google Chrome.app
/Applications/Google Chrome Beta.app

and Run mdfind kMDItemCFBundleIdentifier=="org.mozilla.firefox" gives:

/Applications/Firefox.app
/Applications/Firefox Beta.app

Checked lib/darwin/util.js, not sure how to improve to support detecting both beta and main release? Any advice?

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

1 participant