mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
9 lines
291 B
JavaScript
9 lines
291 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
|