sandbox - configure nativeWindowOpen:true

This matches the behaviour of sandboxed Electron renderers.
This commit is contained in:
Benjamin Pasero
2020-06-16 18:52:29 +02:00
parent 0840d6b9b8
commit 7f49ef52e3
6 changed files with 12 additions and 6 deletions

View File

@@ -60,7 +60,8 @@ export class ProxyAuthHandler extends Disposable {
webPreferences: {
nodeIntegration: true,
webviewTag: true,
enableWebSQL: false
enableWebSQL: false,
nativeWindowOpen: true
}
};