From 084c409f30128a0569a07a0faa837f5d09881ec9 Mon Sep 17 00:00:00 2001 From: Matt Clarkson Date: Fri, 29 Apr 2016 14:59:11 +0100 Subject: [PATCH] Find the chromium instance correctly 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 --- lib/local/platform/unix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/local/platform/unix.js b/lib/local/platform/unix.js index c130381..974c815 100644 --- a/lib/local/platform/unix.js +++ b/lib/local/platform/unix.js @@ -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'] },