web-preferences -> webPreferences
This commit is contained in:
parent
67db92d500
commit
5c9b19b508
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ app.on('ready', function() {
|
||||||
show: false,
|
show: false,
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 600,
|
height: 600,
|
||||||
'web-preferences': {
|
webPreferences: {
|
||||||
javascript: true // Test whether web-preferences crashes.
|
javascript: true // Test whether web preferences crashes.
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
window.loadURL(url.format({
|
window.loadURL(url.format({
|
||||||
|
|
Loading…
Add table
Reference in a new issue