Permissions popup context iso
This commit is contained in:
parent
f3715411c6
commit
7b5faa1cc1
49 changed files with 562 additions and 506 deletions
10
main.js
10
main.js
|
@ -1103,9 +1103,15 @@ function showPermissionsPopupWindow(forCalling, forCamera) {
|
|||
...defaultWebPrefs,
|
||||
nodeIntegration: false,
|
||||
nodeIntegrationInWorker: false,
|
||||
contextIsolation: false,
|
||||
contextIsolation: true,
|
||||
enableRemoteModule: true,
|
||||
preload: path.join(__dirname, 'permissions_popup_preload.js'),
|
||||
preload: path.join(
|
||||
__dirname,
|
||||
'ts',
|
||||
'windows',
|
||||
'permissions',
|
||||
'preload.js'
|
||||
),
|
||||
nativeWindowOpen: true,
|
||||
},
|
||||
parent: mainWindow,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue