Enables context isolation for loading window
This commit is contained in:
parent
ccfb9579ad
commit
6c906d5da8
5 changed files with 17 additions and 39 deletions
2
main.js
2
main.js
|
@ -1340,7 +1340,7 @@ app.on('ready', async () => {
|
|||
webPreferences: {
|
||||
...defaultWebPrefs,
|
||||
nodeIntegration: false,
|
||||
contextIsolation: false,
|
||||
contextIsolation: true,
|
||||
preload: path.join(__dirname, 'ts', 'windows', 'loading', 'preload.js'),
|
||||
},
|
||||
icon: windowIcon,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue