[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 return true
case '--squirrel-updated': case '--squirrel-updated':
WindowsUpdater.createRegistryEntries(options, () => WindowsUpdater.restartN1(app)
WindowsUpdater.updateShortcuts(() =>
app.quit()
)
)
return true return true
case '--squirrel-uninstall': case '--squirrel-uninstall':
WindowsUpdater.removeShortcuts(() => WindowsUpdater.removeShortcuts(() =>