mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-23 16:13:37 +00:00
main: Be explicit about disabling contextIsolation for the main window.
We have been relying on the default here, but the default will be changing in Electron 12. (We already enable contextIsolation in the webviews that load remote content.) Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -86,6 +86,7 @@ function createMainWindow(): Electron.BrowserWindow {
|
||||
minWidth: 500,
|
||||
minHeight: 400,
|
||||
webPreferences: {
|
||||
contextIsolation: false,
|
||||
enableRemoteModule: true,
|
||||
nodeIntegration: true,
|
||||
partition: 'persist:webviewsession',
|
||||
|
Reference in New Issue
Block a user