From ddee8b83f7e92d5d3cb35b75c245b81dfb4ed3e5 Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Mon, 27 Mar 2017 18:06:11 -0700 Subject: [PATCH] [client-app] directly call windows relaunch on squirrel update --- packages/client-app/src/browser/main.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/client-app/src/browser/main.js b/packages/client-app/src/browser/main.js index ed6e81abc..8a48346bc 100644 --- a/packages/client-app/src/browser/main.js +++ b/packages/client-app/src/browser/main.js @@ -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(() =>