Skip to content

Commit

Permalink
feat: don't always start dev tools for production
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesjo committed Nov 23, 2018
1 parent 55a79cd commit 6044e67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion electron/debug.js
Expand Up @@ -72,7 +72,7 @@ module.exports = opts => {
opts = Object.assign({
enabled: null,
showDevTools: true,
devToolsMode: 'undocked'
devToolsMode: 'docked'
}, opts);

if (opts.enabled === false) {
Expand Down
2 changes: 1 addition & 1 deletion electron/main.js
Expand Up @@ -28,7 +28,7 @@ if (IS_DEV) {
}

const app = electron.app;
require('./debug')();
require('./debug')({ showDevTools: IS_DEV });
let mainWin;
let nestedWinParams = { isDarwinForceQuit: false };

Expand Down

0 comments on commit 6044e67

Please sign in to comment.