misc/ upgrade to Electron 10 & Angular 10.1

This commit is contained in:
Maxime GRIS
2020-09-28 16:41:25 +02:00
parent 33098555c6
commit 07786a2db4
3 changed files with 30 additions and 35 deletions

View File

@@ -20,7 +20,8 @@ function createWindow(): BrowserWindow {
webPreferences: {
nodeIntegration: true,
allowRunningInsecureContent: (serve) ? true : false,
enableRemoteModule : true // true if you want to run 2e2 test or use remote module in renderer context (ie. Angular)
contextIsolation: false, // false if you want to run 2e2 test with Spectron
enableRemoteModule : true // true if you want to run 2e2 test with Spectron or use remote module in renderer context (ie. Angular)
},
});