mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-01-08 21:51:55 -05:00
fix infinite load screen introduced with Electron 6 changes
This commit is contained in:
parent
99040d1771
commit
9b224115a5
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue