mirror of
https://github.com/atom/atom.git
synced 2026-02-18 02:21:43 -05:00
Export instance of AutoUpdater
This commit is contained in:
@@ -6,7 +6,6 @@ path = require 'path'
|
||||
_ = require 'underscore-plus'
|
||||
shellAutoUpdater = require 'auto-updater'
|
||||
|
||||
module.exports =
|
||||
class AutoUpdater
|
||||
_.extend @prototype, EventEmitter.prototype
|
||||
|
||||
@@ -64,3 +63,5 @@ class AutoUpdater
|
||||
else
|
||||
console.log "You're on the latest version!"
|
||||
emit 'update-not-available'
|
||||
|
||||
module.exports = new AutoUpdater()
|
||||
|
||||
Reference in New Issue
Block a user