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:
lilia 2017-04-19 15:25:03 -07:00 committed by Scott Nonnenberg
parent eefcaf0bcc
commit 77d5ef2f68
No known key found for this signature in database
GPG key ID: A4931C09644C654B
3 changed files with 59 additions and 1 deletions

View file

@ -73,7 +73,7 @@ function createWindow () {
height: 610,
webPreferences: {
nodeIntegration: false,
sandbox: true,
//sandbox: true,
preload: path.join(__dirname, 'preload.js')
}
})