mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-15 09:58:29 +08:00
[Desktop] Explicitly disable contextIsolation
Required for the window.ipc to work on oauth flow
This commit is contained in:
@@ -75,6 +75,7 @@ function getBrowserWindowOptions() {
|
||||
webPreferences: {
|
||||
affinity: 'main-window',
|
||||
backgroundThrottling: false,
|
||||
contextIsolation: false,
|
||||
nativeWindowOpen: true,
|
||||
nodeIntegration: false,
|
||||
preload: path.join(__dirname, 'preload.js'),
|
||||
|
||||
Reference in New Issue
Block a user