a3786f66c9
When possible we should avoid adding wrappers in JS, it usually makes code more difficult to mantain
6 lines
210 B
JavaScript
6 lines
210 B
JavaScript
const EventEmitter = require('events').EventEmitter
|
|
const autoUpdater = process.atomBinding('auto_updater').autoUpdater
|
|
|
|
Object.setPrototypeOf(autoUpdater, EventEmitter.prototype)
|
|
|
|
module.exports = autoUpdater
|