Add spellcheck
As of Electron 1.6.5, this requires disabling the sandbox in order to get access to the `webFrame` api. // FREEBIE
This commit is contained in:
parent
eefcaf0bcc
commit
77d5ef2f68
3 changed files with 59 additions and 1 deletions
2
main.js
2
main.js
|
@ -73,7 +73,7 @@ function createWindow () {
|
|||
height: 610,
|
||||
webPreferences: {
|
||||
nodeIntegration: false,
|
||||
sandbox: true,
|
||||
//sandbox: true,
|
||||
preload: path.join(__dirname, 'preload.js')
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue