feat: don't always start dev tools for production

This commit is contained in:
Johannes Millan 2018-11-23 17:10:13 +01:00
parent 55a79cd69f
commit 6044e674fc
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,7 @@ module.exports = opts => {
opts = Object.assign({
enabled: null,
showDevTools: true,
devToolsMode: 'undocked'
devToolsMode: 'docked'
}, opts);
if (opts.enabled === false) {

View file

@ -28,7 +28,7 @@ if (IS_DEV) {
}
const app = electron.app;
require('./debug')();
require('./debug')({ showDevTools: IS_DEV });
let mainWin;
let nestedWinParams = { isDarwinForceQuit: false };