misc/ upgrade Electron 10

This commit is contained in:
Maxime GRIS
2020-08-30 13:57:15 +02:00
parent f41ce65e79
commit b71c514dcc
4 changed files with 34 additions and 34 deletions

View File

@@ -20,6 +20,7 @@ function createWindow(): BrowserWindow {
webPreferences: {
nodeIntegration: true,
allowRunningInsecureContent: (serve) ? true : false,
enableRemoteModule : false // true if you want to use remote module in renderer context (ie. Angular)
},
});
@@ -52,9 +53,6 @@ function createWindow(): BrowserWindow {
}
try {
app.allowRendererProcessReuse = true;
// This method will be called when Electron has finished
// initialization and is ready to create browser windows.
// Some APIs can only be used after this event occurs.