diff --git a/ElectronClient/checkForUpdates.js b/ElectronClient/checkForUpdates.js index 9c843bdd9..dc01649f1 100644 --- a/ElectronClient/checkForUpdates.js +++ b/ElectronClient/checkForUpdates.js @@ -149,8 +149,10 @@ function checkForUpdates(inBackground, window, logFilePath, options) { const result = await dialog.showMessageBox(parentWindow_, { type: 'info', - message: `${_('An update is available, do you want to download it now?')}\n\n${_('Your version: %s', packageInfo.version)}\n${_('New version: %s', newVersionString)}${releaseNotes}`, - buttons: [_('Yes'), _('No')].concat(truncateReleaseNotes ? [_('Full Release Notes')] : []), + message: `${_('An update is available, do you want to download it now?')}`, + detail: `${_('Your version: %s', packageInfo.version)}\n${_('New version: %s', newVersionString)}${releaseNotes}`, + buttons: [_('Download'), _('Cancel')].concat(truncateReleaseNotes ? [_('Full Release Notes')] : []), + cancelId: 1, }); const buttonIndex = result.response;