mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-07 16:48:02 +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
38d9c41c0b
commit
6c36f54a60
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…
Reference in a new issue