Parse the 4th argument into a date.
This commit is contained in:
parent
c2afa3521e
commit
e7248b486f
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ AutoUpdater::__proto__ = EventEmitter.prototype
|
|||
|
||||
autoUpdater = new AutoUpdater
|
||||
autoUpdater.on 'update-downloaded-raw', (args...) ->
|
||||
args[2] = new Date(args[2]) # releaseDate
|
||||
args[3] = new Date(args[3]) # releaseDate
|
||||
@emit 'update-downloaded', args..., => @quitAndInstall()
|
||||
|
||||
module.exports = autoUpdater
|
||||
|
|
Loading…
Reference in a new issue