mirror of
https://github.com/atom/atom.git
synced 2026-02-16 17:45:24 -05:00
24 lines
523 B
JavaScript
24 lines
523 B
JavaScript
module.exports = {
|
|
updateError () {
|
|
atom.autoUpdater.emitter.emit('update-error')
|
|
},
|
|
|
|
checkForUpdate () {
|
|
atom.autoUpdater.emitter.emit('did-begin-checking-for-update')
|
|
},
|
|
|
|
updateNotAvailable () {
|
|
atom.autoUpdater.emitter.emit('update-not-available')
|
|
},
|
|
|
|
downloadUpdate () {
|
|
atom.autoUpdater.emitter.emit('did-begin-downloading-update')
|
|
},
|
|
|
|
finishDownloadingUpdate (releaseVersion) {
|
|
atom.autoUpdater.emitter.emit('did-complete-downloading-update', {
|
|
releaseVersion
|
|
})
|
|
}
|
|
}
|