Electron 8.

This commit is contained in:
Daniel Scalzi
2020-03-18 19:54:46 -04:00
parent 8b5a7bb02e
commit 141a753893
5 changed files with 512 additions and 676 deletions

View File

@@ -86,6 +86,9 @@ ipcMain.on('distributionIndexDone', (event, res) => {
// https://electronjs.org/docs/tutorial/offscreen-rendering
app.disableHardwareAcceleration()
// https://github.com/electron/electron/issues/18397
app.allowRendererProcessReuse = true
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
let win