2019-05-18 17:55:03 +00:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
const EventEmitter = require('events').EventEmitter
|
|
|
|
const { autoUpdater, AutoUpdater } = process.atomBinding('auto_updater')
|
|
|
|
|
2019-02-06 20:27:58 +00:00
|
|
|
// AutoUpdater is an EventEmitter.
|
2019-05-18 17:55:03 +00:00
|
|
|
Object.setPrototypeOf(AutoUpdater.prototype, EventEmitter.prototype)
|
|
|
|
EventEmitter.call(autoUpdater)
|
|
|
|
|
|
|
|
module.exports = autoUpdater
|