mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-09 06:04:33 +08:00
fix(auto-update): Contrary to all reason, autoUpdater.quitAndInstall
does not call before-quit
This commit is contained in:
parent
f399e76408
commit
af357ef005
1 changed files with 4 additions and 1 deletions
|
@ -235,7 +235,10 @@ class Application
|
|||
@on 'application:send-feedback', => @windowManager.sendToMainWindow('send-feedback')
|
||||
@on 'application:show-main-window', => @windowManager.ensurePrimaryWindowOnscreen()
|
||||
@on 'application:check-for-update', => @autoUpdateManager.check()
|
||||
@on 'application:install-update', => @autoUpdateManager.install()
|
||||
@on 'application:install-update', =>
|
||||
@quitting = true
|
||||
@windowManager.unregisterAllHotWindows()
|
||||
@autoUpdateManager.install()
|
||||
@on 'application:open-dev', =>
|
||||
@devMode = true
|
||||
@windowManager.closeMainWindow()
|
||||
|
|
Loading…
Add table
Reference in a new issue