|
@@ -142,7 +142,7 @@ function createMainWindow() {
|
|
|
window.on('closed', () => { app.quit() });
|
|
|
|
|
|
window.webContents.on('devtools-opened', () => window.focus());
|
|
|
- window.webContents.openDevTools({ mode: 'undocked' });
|
|
|
+ //window.webContents.openDevTools({ mode: 'undocked' });
|
|
|
return window;
|
|
|
}
|
|
|
|
|
@@ -161,7 +161,7 @@ function createSubWindow1() {
|
|
|
}
|
|
|
window.on('closed', () => window = null);
|
|
|
//window.webContents.on('devtools-opened', () => setImmediate(() => window.focus()));
|
|
|
- window.webContents.openDevTools({ mode: 'undocked' });
|
|
|
+ //window.webContents.openDevTools({ mode: 'undocked' });
|
|
|
return window;
|
|
|
}
|
|
|
|
|
@@ -180,7 +180,7 @@ function createSubWindow2() {
|
|
|
|
|
|
window.on('closed', () => window = null);
|
|
|
//window.webContents.on('devtools-opened', () => setImmediate(() => window.focus()));
|
|
|
- window.webContents.openDevTools({ mode: 'undocked' });
|
|
|
+ //window.webContents.openDevTools({ mode: 'undocked' });
|
|
|
return window;
|
|
|
}
|
|
|
|