asarfuckery/electronasar/development/browser/api/auto-updater/auto-updater-native.js

8 lines
359 B
JavaScript
Raw Normal View History

2019-07-26 19:05:02 +00:00
'use strict';
const EventEmitter = require('events').EventEmitter;
const { autoUpdater, AutoUpdater } = process.electronBinding('auto_updater');
2019-01-17 18:22:05 +00:00
// AutoUpdater is an EventEmitter.
2019-07-26 19:05:02 +00:00
Object.setPrototypeOf(AutoUpdater.prototype, EventEmitter.prototype);
EventEmitter.call(autoUpdater);
module.exports = autoUpdater;
//# sourceMappingURL=auto-updater-native.js.map