mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-11 10:38:11 +08:00
[client-app] directly call windows relaunch on squirrel update
This commit is contained in:
parent
fc5645b9eb
commit
ddee8b83f7
1 changed files with 1 additions and 5 deletions
|
@ -164,11 +164,7 @@ const handleStartupEventWithSquirrel = () => {
|
|||
)
|
||||
return true
|
||||
case '--squirrel-updated':
|
||||
WindowsUpdater.createRegistryEntries(options, () =>
|
||||
WindowsUpdater.updateShortcuts(() =>
|
||||
app.quit()
|
||||
)
|
||||
)
|
||||
WindowsUpdater.restartN1(app)
|
||||
return true
|
||||
case '--squirrel-uninstall':
|
||||
WindowsUpdater.removeShortcuts(() =>
|
||||
|
|
Loading…
Reference in a new issue