|
@@ -35,7 +35,7 @@ if (!gotTheLock) {
|
|
|
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
+app.disableHardwareAcceleration();
|
|
|
// ------------ run auto launch & add ca cert in MacOS ------------ //
|
|
|
if (platform === 'darwin') {
|
|
|
app.dock.hide();
|
|
@@ -148,8 +148,8 @@ function createMainWindow() {
|
|
|
window.once('ready-to-show', () => window.show());
|
|
|
|
|
|
window.on('closed', () => { app.quit() });
|
|
|
- window.webContents.on('devtools-opened', () => window.focus());
|
|
|
- window.webContents.openDevTools({ mode: 'undocked' });
|
|
|
+ // window.webContents.on('devtools-opened', () => window.focus());
|
|
|
+ // window.webContents.openDevTools({ mode: 'undocked' });
|
|
|
return window;
|
|
|
}
|
|
|
|