diff --git a/src/index.js b/src/index.js index 663f81cc9..37c553840 100644 --- a/src/index.js +++ b/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(); }