initial idea

This commit is contained in:
Patrick Detlefsen 2015-06-15 20:28:47 +02:00
parent 827741a9c6
commit 621178f558
3 changed files with 108 additions and 1 deletions

View file

@ -1,4 +1,9 @@
autoUpdater = process.atomBinding('auto_updater').autoUpdater
switch process.platform
when 'darwin'
autoUpdater = process.atomBinding('auto_updater').autoUpdater
when 'win32'
autoUpdater = require('./auto-updater-win')
EventEmitter = require('events').EventEmitter
autoUpdater.__proto__ = EventEmitter.prototype