Use ipcRenderer from ‘electron’ rather than ‘pic’ module

This commit is contained in:
Katrina Uychaco
2016-02-19 12:36:09 -08:00
committed by Ben Ogle
parent 3e29cd5762
commit 5cda45b5c7

View File

@@ -1,7 +1,7 @@
'use babel'
import {Emitter, CompositeDisposable} from 'event-kit'
import ipc from 'ipc'
import {ipcRenderer} from 'electron'
export default class Update {
constructor () {
@@ -67,6 +67,6 @@ export default class Update {
}
check () {
ipc.send('check-for-update')
ipcRenderer.send('check-for-update')
}
}