mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
fix(desktop): fresh manual update check, 90 second polling (#3434)
This commit is contained in:
1 parent
4194525933
commit
2ffe8f3387
16 files changed
+663
-101
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user