diff options
author | 2018-12-03 11:11:29 +0100 | |
---|---|---|
committer | 2018-12-03 11:11:29 +0100 | |
commit | 84fc3a0a7d9f8671f03a6184f9283a1b71d0d3a0 (patch) | |
tree | 890cbaa9df115f301903d1dc57f57d5b113ca179 | |
parent | Make settings debug logs less confusing (diff) | |
download | ferdium-app-84fc3a0a7d9f8671f03a6184f9283a1b71d0d3a0.tar.gz ferdium-app-84fc3a0a7d9f8671f03a6184f9283a1b71d0d3a0.tar.zst ferdium-app-84fc3a0a7d9f8671f03a6184f9283a1b71d0d3a0.zip |
Open dev tools with --devtools cmd line flag
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 = () => { | |||
115 | mainWindow.loadURL(`file://${__dirname}/index.html`); | 115 | mainWindow.loadURL(`file://${__dirname}/index.html`); |
116 | 116 | ||
117 | // Open the DevTools. | 117 | // Open the DevTools. |
118 | if (isDevMode) { | 118 | if (isDevMode || process.argv.includes('--devtools')) { |
119 | mainWindow.webContents.openDevTools(); | 119 | mainWindow.webContents.openDevTools(); |
120 | } | 120 | } |
121 | 121 | ||