hughsk / chrome-location

Approximates the current location of Google Chrome on your system
Other
19 stars 6 forks source link

Support Chromium browser #7

Open p3k opened 8 years ago

p3k commented 8 years ago

I am using Chromium Version 47.0.2526.73 on Ubuntu 15.10 (64-bit) and thus, I get undefined when requiring chrome-location:

> require('chrome-location');
undefined

To make things work in my case, I just had to change line 8 of index.js like this:

module.exports = require('which').sync('chromium-browser')
yoshuawuyts commented 8 years ago

PRs are welcome!

p3k commented 6 years ago

bump