Skip to content

Commit 3309855

Browse files
author
Maxime GRIS
committed
misc/ enable remote module in renderer process (needed for spectron)
1 parent b1affd0 commit 3309855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function createWindow(): BrowserWindow {
2020
webPreferences: {
2121
nodeIntegration: true,
2222
allowRunningInsecureContent: (serve) ? true : false,
23-
enableRemoteModule : false // true if you want to use remote module in renderer context (ie. Angular)
23+
enableRemoteModule : true // true if you want to run 2e2 test or use remote module in renderer context (ie. Angular)
2424
},
2525
});
2626

0 commit comments

Comments
 (0)