mirror of
https://github.com/electron/electron.git
synced 2026-02-16 18:16:39 -05:00
9 lines
289 B
JavaScript
9 lines
289 B
JavaScript
const EventEmitter = require('events').EventEmitter
|
|
const {autoUpdater, AutoUpdater} = process.atomBinding('auto_updater')
|
|
|
|
// AutoUpdater is an EventEmitter.
|
|
Object.setPrototypeOf(AutoUpdater.prototype, EventEmitter.prototype)
|
|
EventEmitter.call(autoUpdater)
|
|
|
|
module.exports = autoUpdater
|