mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-30 11:10:04 +00:00
feat: don't always start dev tools for production
This commit is contained in:
parent
55a79cd69f
commit
6044e674fc
2 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ module.exports = opts => {
|
|||
opts = Object.assign({
|
||||
enabled: null,
|
||||
showDevTools: true,
|
||||
devToolsMode: 'undocked'
|
||||
devToolsMode: 'docked'
|
||||
}, opts);
|
||||
|
||||
if (opts.enabled === false) {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ if (IS_DEV) {
|
|||
}
|
||||
|
||||
const app = electron.app;
|
||||
require('./debug')();
|
||||
require('./debug')({ showDevTools: IS_DEV });
|
||||
let mainWin;
|
||||
let nestedWinParams = { isDarwinForceQuit: false };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue