chore: make "nodeIntegration" and "webviewTag" default to false (#16235)
This commit is contained in:
parent
cdf4bfa68f
commit
fade3eb679
23 changed files with 261 additions and 140 deletions
|
@ -124,7 +124,9 @@ app.on('ready', function () {
|
|||
width: 800,
|
||||
height: 600,
|
||||
webPreferences: {
|
||||
backgroundThrottling: false
|
||||
backgroundThrottling: false,
|
||||
nodeIntegration: true,
|
||||
webviewTag: true
|
||||
}
|
||||
})
|
||||
window.loadFile('static/index.html', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue