mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-10 06:34:40 +08:00
fix(auto-update): mistakenly used remote.dialog
I forgot that the `AutoUpdateManager` is run from the main process
This commit is contained in:
parent
400ccb1cdb
commit
f85dd5c289
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class AutoUpdateManager
|
|||
|
||||
onUpdateNotAvailable: =>
|
||||
autoUpdater.removeListener 'error', @onUpdateError
|
||||
remote.dialog.showMessageBox
|
||||
dialog.showMessageBox
|
||||
type: 'info'
|
||||
buttons: ['OK']
|
||||
icon: @iconURL()
|
||||
|
|
Loading…
Add table
Reference in a new issue