desktop: ignore errors during update check

This commit is contained in:
Abdullah Atta
2024-04-02 11:58:33 +05:00
parent a427e32796
commit dd674d38df

View File

@@ -41,7 +41,7 @@ export const updaterRouter = t.router({
.finally(() => (cancellationToken = undefined));
}),
check: t.procedure.query(async () => {
await autoUpdater.checkForUpdates();
await autoUpdater.checkForUpdates().catch(console.error);
}),
toggleAutoUpdates: t.procedure