[Desktop] Explicitly disable contextIsolation

Required for the window.ipc to work on oauth flow
This commit is contained in:
Bruno Lemos
2018-12-29 20:57:32 -02:00
parent 1d5e625d9d
commit d7a95c8d3d

View File

@@ -75,6 +75,7 @@ function getBrowserWindowOptions() {
webPreferences: {
affinity: 'main-window',
backgroundThrottling: false,
contextIsolation: false,
nativeWindowOpen: true,
nodeIntegration: false,
preload: path.join(__dirname, 'preload.js'),