Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
fix(carlo): use chromium always
Browse files Browse the repository at this point in the history
As long as carlo has issue 141 [1] we can not use it with stable or
canary.
drive-by: added nice icon.

[1] GoogleChromeLabs/carlo#141
  • Loading branch information
alexkozy committed Jun 20, 2019
1 parent b2f631e commit 69b01b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function launch() {
try {
app = await carlo.launch({
bgcolor: '#242424',
channel: ['stable', 'canary', 'chromium'],
channel: ['chromium'],
paramsForReuse: {
cwd: process.cwd(),
argv: process.argv
Expand All @@ -37,6 +37,7 @@ async function launch() {
const appName = 'ndb';
const debugFrontend = !!process.env.NDB_DEBUG_FRONTEND;

app.setIcon(path.join(__dirname, '..', 'front_end', 'favicon.png'));
const overridesFolder = debugFrontend
? path.dirname(require.resolve(`../front_end/${appName}.json`))
: path.join(__dirname, '..', '.local-frontend');
Expand Down

0 comments on commit 69b01b5

Please sign in to comment.