mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
11 lines
315 B
JavaScript
11 lines
315 B
JavaScript
'use strict';
|
|
|
|
const EventEmitter = require('events').EventEmitter;
|
|
const { autoUpdater, AutoUpdater } = process.electronBinding('auto_updater');
|
|
|
|
// AutoUpdater is an EventEmitter.
|
|
Object.setPrototypeOf(AutoUpdater.prototype, EventEmitter.prototype);
|
|
EventEmitter.call(autoUpdater);
|
|
|
|
module.exports = autoUpdater;
|