fix(desktop): update from the splash only after the user clicks (#3280)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-08 17:25:34 +02:00
1 parent f1373a63c3
commit 7937d5f802
90 files changed
+6888 -11255

No files matched your search

+2 -6
View File
@@ -143,9 +143,7 @@ async function runVelopackSelfUpdate(control: SelfUpdateControl, hooks: ShellSel
control.settle({reason: 'install-failed', detail: errorDetail(error)});
return;
}
setImmediate(() => {
app.exit(0);
});
app.quit();
}
async function fetchPublishedAppImage(): Promise<{version: string; sha256: string | null}> {
@@ -222,9 +220,7 @@ async function runAppImageSelfUpdate(
return;
}
relaunchStableLaunchPath();
setImmediate(() => {
app.exit(0);
});
app.quit();
}
function runElectronSelfUpdate(control: SelfUpdateControl, hooks: ShellSelfUpdateHooks): void {