Send release notes along with releaseName

This commit is contained in:
probablycorey
2014-02-25 20:40:03 -08:00
parent c6bb6b48b6
commit b73acc88a7

View File

@@ -141,7 +141,7 @@ class AtomApplication
@applicationMenu.showCheckForUpdateItem(true)
autoUpdater.on 'update-downloaded', (event, releaseNotes, releaseName, releaseDate, releaseURL) =>
atomWindow.sendCommand('window:update-available', releaseName) for atomWindow in @windows
atomWindow.sendCommand('window:update-available', [releaseName, releaseNotes]) for atomWindow in @windows
@applicationMenu.showInstallUpdateItem(true)
@applicationMenu.showCheckForUpdateItem(false)
@updateVersion = releaseName