linux: Don't throw error when using autoUpdater

Fix #3194.
This commit is contained in:
Cheng Zhao 2015-11-13 10:58:10 +08:00
parent 852500e5fa
commit f2439cefd0
3 changed files with 5 additions and 7 deletions

View file

@ -0,0 +1,6 @@
{EventEmitter} = require 'events'
{autoUpdater} = process.atomBinding 'auto_updater'
autoUpdater.__proto__ = EventEmitter.prototype
module.exports = autoUpdater