mirror of
https://github.com/electron/electron.git
synced 2026-02-18 11:01:47 -05:00
When possible we should avoid adding wrappers in JS, it usually makes code more difficult to mantain
7 lines
210 B
JavaScript
7 lines
210 B
JavaScript
const EventEmitter = require('events').EventEmitter
|
|
const autoUpdater = process.atomBinding('auto_updater').autoUpdater
|
|
|
|
Object.setPrototypeOf(autoUpdater, EventEmitter.prototype)
|
|
|
|
module.exports = autoUpdater
|