Skip to content

Commit 82b86f7

Browse files
committed
Fix screen-sharing tracker on Electron 12
Context isolation must be disabled, until we support it properly.
1 parent 314b561 commit 82b86f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

screensharing/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ class ScreenShareMainHook {
9090
frame: false,
9191
show: false,
9292
webPreferences: {
93-
// TODO: these 2 should be removed.
93+
// TODO: these 3 should be removed.
94+
contextIsolation: false,
9495
enableRemoteModule: true,
9596
nodeIntegration: true
9697
}

0 commit comments

Comments
 (0)