mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-14 16:44:36 +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: =>
|
onUpdateNotAvailable: =>
|
||||||
autoUpdater.removeListener 'error', @onUpdateError
|
autoUpdater.removeListener 'error', @onUpdateError
|
||||||
remote.dialog.showMessageBox
|
dialog.showMessageBox
|
||||||
type: 'info'
|
type: 'info'
|
||||||
buttons: ['OK']
|
buttons: ['OK']
|
||||||
icon: @iconURL()
|
icon: @iconURL()
|
||||||
|
|
Loading…
Add table
Reference in a new issue