mirror of
https://github.com/atom/atom.git
synced 2026-02-15 09:05:58 -05:00
22 lines
511 B
JavaScript
22 lines
511 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})
|
|
}
|
|
}
|