Permalink
Browse files

Open dev tools with --devtools cmd line flag

  • Loading branch information...
adlk committed Dec 3, 2018
1 parent b089a6d commit 84fc3a0a7d9f8671f03a6184f9283a1b71d0d3a0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/index.js
@@ -115,7 +115,7 @@ const createWindow = () => {
mainWindow.loadURL(`file://${__dirname}/index.html`);
// Open the DevTools.
if (isDevMode) {
if (isDevMode || process.argv.includes('--devtools')) {
mainWindow.webContents.openDevTools();
}

0 comments on commit 84fc3a0

Please sign in to comment.