mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(desktop): update from the splash only after the user clicks (#3280)
This commit is contained in:
1 parent
f1373a63c3
commit
7937d5f802
90 files changed
+6888
-11255
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user