fix infinite load screen introduced with Electron 6 changes

This commit is contained in:
Christopher Willis-Ford 2020-01-16 08:16:23 -08:00
parent 99040d1771
commit 9b224115a5

View file

@ -20,6 +20,9 @@ const createWindow = ({search = null, url = 'index.html', ...browserWindowOption
const window = new BrowserWindow({
useContentSize: true,
show: false,
webPreferences: {
nodeIntegration: true
},
...browserWindowOptions
});
const webContents = window.webContents;