Skip to content

Commit

Permalink
Find the chromium instance correctly
Browse files Browse the repository at this point in the history
The chromium binary is actually a script that starts the /usr/lib/chromium binary
with the correct arguments. We just need to search for the chromium instance that
doesn't have a '--type' parameter
  • Loading branch information
mattyclarkson committed Apr 29, 2016
1 parent ca62680 commit 084c409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/local/platform/unix.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var path = require('path');
module.exports = {
chrome: {
pathQuery: 'which chromium-browser chromium google-chrome google-chrome-stable | head -n1',
process: 'chrome',
process: 'chrom(e|ium( --(?!type)[^=]+=[^ ]+)*)',
opensTab: true,
args: ['--no-first-run']
},
Expand Down

0 comments on commit 084c409

Please sign in to comment.