paths: add alternate linux paths

This commit is contained in:
CanadaHonk 2022-12-28 13:15:22 +00:00
parent ace26b85f9
commit b23351ae4a

View File

@ -26,9 +26,9 @@ const browserPaths = ({
},
linux: { // these should be in path so just use the name of the binary
chrome: 'chrome',
chrome_canary: 'chrome-canary',
chromium: 'chromium',
chrome: [ 'chrome', 'google-chrome', 'chrome-browser', 'google-chrome-stable' ],
chrome_canary: [ 'chrome-canary', 'google-chrome-canary', 'google-chrome-unstable', 'chrome-unstable' ],
chromium: [ 'chromium', 'chromium-browser' ],
firefox: 'firefox',
}
})[process.platform];