Disable contextIsolation in all UI windows

This commit is contained in:
Alice Gaudon 2021-03-06 16:09:13 +01:00
parent 9fb8354878
commit 86e442f548
3 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,7 @@ export default class MainWindow extends Window {
nodeIntegration: true, nodeIntegration: true,
enableRemoteModule: true, enableRemoteModule: true,
webviewTag: true, webviewTag: true,
contextIsolation: false,
}, },
autoHideMenuBar: true, autoHideMenuBar: true,
icon: Meta.ICON_PATH, icon: Meta.ICON_PATH,

View File

@ -18,6 +18,7 @@ export default class ServiceSettingsWindow extends Window {
nodeIntegration: true, nodeIntegration: true,
enableRemoteModule: true, enableRemoteModule: true,
webviewTag: true, webviewTag: true,
contextIsolation: false,
}, },
modal: true, modal: true,
autoHideMenuBar: true, autoHideMenuBar: true,

View File

@ -12,6 +12,7 @@ export default class SettingsWindow extends Window {
nodeIntegration: true, nodeIntegration: true,
enableRemoteModule: true, enableRemoteModule: true,
webviewTag: true, webviewTag: true,
contextIsolation: false,
}, },
modal: true, modal: true,
autoHideMenuBar: true, autoHideMenuBar: true,