Skip to content

Commit 5fef393

Browse files
authored
Merge pull request #80 from andycb/fixAppInElectron12
Disable ContextIsolation in Electron 12
2 parents b178f85 + 0e9f4e1 commit 5fef393

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/electronMain.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ function createWindow(): void {
99
height: 560,
1010
webPreferences: {
1111
nodeIntegration: true,
12+
contextIsolation: false,
1213
enableRemoteModule: true,
1314
preload: path.join(__dirname, '/preload.js'),
1415
},

0 commit comments

Comments
 (0)