diff --git a/src/renderer/Launcher.tsx b/src/renderer/Launcher.tsx index 25f7f48b..45a9ceb2 100644 --- a/src/renderer/Launcher.tsx +++ b/src/renderer/Launcher.tsx @@ -30,7 +30,10 @@ export default function Launcher() { updaterService.isUpdateAvailable().then(available => { if(!available){ return windowService.openThenCloseAll("index.html"); } setText("auto-update.downloading"); - updaterService.downloadUpdate().then(installed => installed && updaterService.quitAndInstall()); + updaterService.downloadUpdate().then(installed => { + if(!installed){ return windowService.openThenCloseAll("index.html"); } + updaterService.quitAndInstall() + }); }); return () => sub.unsubscribe();