initial idea
This commit is contained in:
parent
827741a9c6
commit
621178f558
3 changed files with 108 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue