Made dialog message clear

This commit is contained in:
Leo Lamprecht 2017-08-15 22:55:55 +02:00 committed by GitHub
parent 5f82168213
commit 78c87d4bd3

View file

@ -73,8 +73,8 @@ autoUpdater.on('update-downloaded', (event, releaseNotes, releaseName) => {
type: 'info',
buttons: ['Restart', 'Later'],
title: 'Application Update',
message: 'A new version has been downloaded. Restart the application to apply the updates.',
detail: releaseName + '\n\n' + releaseNotes
message: process.platform === 'win32' ? releaseNotes : releaseName,
detail: 'A new version has been downloaded. Restart the application to apply the updates.'
}
dialog.showMessageBox(dialogOpts, (response) => {