1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

move ipc server to main process

This commit is contained in:
Dick Choi
2016-08-23 00:52:33 +09:00
parent cff3fdae6e
commit 282ca3ea2a
15 changed files with 147 additions and 513 deletions

View File

@@ -8,7 +8,7 @@ const ChildProcess = require('child_process')
const _ = require('lodash')
const GhReleases = require('electron-gh-releases')
// electron.crashReporter.start()
require('./ipc')
var ipcServer = null
var mainWindow = null
var finderWindow = null
@@ -112,8 +112,8 @@ app.on('ready', function () {
}, 1000 * 60 * 60)
checkUpdate()
require('./hotkey')
ipcServer = require('./ipcServer')
ipcServer.server.start()
})
module.exports = app