Enabled spellchecking for only mac
This commit is contained in:
parent
a872b35113
commit
6245c05c23
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
const fs = require('fs')
|
||||
const os = require('os');
|
||||
const path = require('path')
|
||||
const url = require('url')
|
||||
const electron = require('electron')
|
||||
|
@ -74,7 +75,8 @@ function createWindow (opt = {})
|
|||
// preload: path.resolve('./preload.js'),
|
||||
nodeIntegration: true,
|
||||
enableRemoteModule: true,
|
||||
nodeIntegrationInWorker: true
|
||||
nodeIntegrationInWorker: true,
|
||||
spellcheck: (os.platform() == "darwin" ? true : false)
|
||||
}
|
||||
}, opt)
|
||||
|
||||
|
|
Loading…
Reference in a new issue