diff --git a/src/renderer/windows/Launcher.tsx b/src/renderer/windows/Launcher.tsx index d3416e04..62d60a16 100644 --- a/src/renderer/windows/Launcher.tsx +++ b/src/renderer/windows/Launcher.tsx @@ -21,13 +21,12 @@ export default function Launcher() { useEffect(() => { updaterService.isUpdateAvailable().then(available => { if (!available) { - updaterService.setHaveBeenUpdated(false); + return windowService.openThenCloseAll("index.html"); } setText("auto-update.downloading"); updaterService.downloadUpdate().then(installed => { if (!installed) { - updaterService.setHaveBeenUpdated(true); return windowService.openThenCloseAll("index.html"); } updaterService.quitAndInstall();