Made dialog message clear
This commit is contained in:
parent
5f82168213
commit
78c87d4bd3
1 changed files with 3 additions and 3 deletions
|
@ -73,8 +73,8 @@ autoUpdater.on('update-downloaded', (event, releaseNotes, releaseName) => {
|
||||||
type: 'info',
|
type: 'info',
|
||||||
buttons: ['Restart', 'Later'],
|
buttons: ['Restart', 'Later'],
|
||||||
title: 'Application Update',
|
title: 'Application Update',
|
||||||
message: 'A new version has been downloaded. Restart the application to apply the updates.',
|
message: process.platform === 'win32' ? releaseNotes : releaseName,
|
||||||
detail: releaseName + '\n\n' + releaseNotes
|
detail: 'A new version has been downloaded. Restart the application to apply the updates.'
|
||||||
}
|
}
|
||||||
|
|
||||||
dialog.showMessageBox(dialogOpts, (response) => {
|
dialog.showMessageBox(dialogOpts, (response) => {
|
||||||
|
@ -92,4 +92,4 @@ autoUpdater.on('error', message => {
|
||||||
console.error('There was a problem updating the application')
|
console.error('There was a problem updating the application')
|
||||||
console.error(message)
|
console.error(message)
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue