修复注入
parent
df4fde0f53
commit
4bb49a700e
|
@ -22,9 +22,8 @@ exports.createMainWindow = function(icon) {
|
||||||
icon,
|
icon,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
webSecurity: false,
|
webSecurity: false,
|
||||||
experimentalFeatures: true
|
experimentalFeatures: true,
|
||||||
// webviewTag: true,
|
nodeIntegration: true
|
||||||
// nodeIntegration: true
|
|
||||||
},
|
},
|
||||||
show: false
|
show: false
|
||||||
})
|
})
|
||||||
|
|
Reference in New Issue