mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use ipcRenderer from ‘electron’ rather than ‘pic’ module
This commit is contained in:
committed by
Ben Ogle
parent
3e29cd5762
commit
5cda45b5c7
@@ -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')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user