misc/ enable remote module in renderer process (needed for spectron)

This commit is contained in:
Maxime GRIS
2020-09-16 10:45:42 +02:00
parent b1affd012c
commit 33098555c6

View File

@@ -20,7 +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)
enableRemoteModule : true // true if you want to run 2e2 test or use remote module in renderer context (ie. Angular)
},
});