misc/ upgrade to Electron 10 & Angular 10.1
This commit is contained in:
3
main.ts
3
main.ts
@@ -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)
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user