[client-app] directly call windows relaunch on squirrel update

This commit is contained in:
Evan Morikawa 2017-03-27 18:06:11 -07:00
parent fc5645b9eb
commit ddee8b83f7

View file

@ -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(() =>