electron/lib/browser/api/auto-updater/auto-updater-native.js

7 lines
202 B
JavaScript
Raw Normal View History

2016-01-14 13:16:42 -08:00
const EventEmitter = require('events').EventEmitter;
const autoUpdater = process.atomBinding('auto_updater').autoUpdater;
2016-01-11 18:40:23 -08:00
autoUpdater.__proto__ = EventEmitter.prototype;
module.exports = autoUpdater;