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