diff --git a/test/electron/index.js b/test/electron/index.js index ab7c37f2a60545925fcfa3b969e3c2bf4e640864..5b8288846b11fe4f270014b2bd582614ba100508 100644 --- a/test/electron/index.js +++ b/test/electron/index.js @@ -24,6 +24,7 @@ app.on('ready', () => { const win = new BrowserWindow({ height: 600, width: 800, + show: false, webPreferences: { backgroundThrottling: false, webSecurity: false @@ -31,8 +32,8 @@ app.on('ready', () => { }); win.webContents.on('did-finish-load', () => { - win.show(); if (debug) { + win.show(); win.webContents.openDevTools('right'); } win.webContents.send('run', { grep, run });