mirror of https://github.com/laurent22/joplin.git
Tools: Optional open dev tools in Developer Mode (#2083)
* Require --open-dev-tools along with --env dev in command line options to make opening of Dev Tools optional when in Developer mode. * Restore original lines then comment out the call to openDevToolspull/2115/head
parent
9e227200af
commit
21d06ad9a6
|
@ -82,7 +82,7 @@ class ElectronAppWrapper {
|
|||
}));
|
||||
|
||||
// Uncomment this to view errors if the application does not start
|
||||
if (this.env_ === 'dev') this.win_.webContents.openDevTools();
|
||||
// if (this.env_ === 'dev') this.win_.webContents.openDevTools();
|
||||
|
||||
this.win_.on('close', (event) => {
|
||||
// If it's on macOS, the app is completely closed only if the user chooses to close the app (willQuitApp_ will be true)
|
||||
|
|
Loading…
Reference in New Issue