From b23351ae4a6c6a33e2c69e153579f189abf6a60c Mon Sep 17 00:00:00 2001 From: CanadaHonk Date: Wed, 28 Dec 2022 13:15:22 +0000 Subject: [PATCH] paths: add alternate linux paths --- src/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index b7080cc..b0ab3dc 100644 --- a/src/index.js +++ b/src/index.js @@ -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];