fix(desktop): fresh manual update check, 90 second polling (#3434)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-12 21:39:10 +02:00
1 parent 4194525933
commit 2ffe8f3387
16 files changed
+663 -101

No files matched your search

+2 -2
View File
@@ -148,7 +148,7 @@ function registerSelfUpdater(getMainWindow: () => BrowserWindow | null): void {
return;
}
try {
await checkDesktopUpdateNow();
await checkDesktopUpdateNow({manual: true});
send(getMainWindow(), {type: 'not-available', context});
} catch (error) {
log.warn('Desktop update check failed', error);
@@ -164,7 +164,7 @@ function registerManualUpdater(
ipcMain.handle('updater-check', async (_e, context: UpdaterContext) => {
if (context === 'user') {
try {
await checkDesktopUpdateNow();
await checkDesktopUpdateNow({manual: true});
} catch (error) {
log.warn('Desktop module update check failed', error);
}