Explicit nodeIntegration: true
This commit is contained in:
parent
da9238fff3
commit
8c556319b9
1 changed files with 4 additions and 1 deletions
|
|
@ -97,7 +97,10 @@ function createWindow() {
|
|||
frame: !store.get('drawCustomTitleBar'),
|
||||
width: 1124,
|
||||
height: 800,
|
||||
icon: path.join(__dirname, '/icons/png/64x64.png')
|
||||
icon: path.join(__dirname, '/icons/png/64x64.png'),
|
||||
webPreferences: {
|
||||
nodeIntegration: true
|
||||
}
|
||||
})
|
||||
|
||||
// Make a context menu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue