fix: redundant update toast (#9322)

This commit is contained in:
Curry Yang
2025-10-29 15:36:00 +08:00
committed by GitHub
parent 19ea58649d
commit 2de83ffbb4

View File

@@ -168,7 +168,6 @@ const _checkForUpdates = (updateUrl: string) => {
console.log(`[updater] Checking for updates url=${updateUrl}`);
autoUpdater.setFeedURL({ url: updateUrl });
autoUpdater.checkForUpdates();
showUpdateStatusToast('Up to Date');
} catch (err) {
console.warn('[updater] Failed to check for updates:', err.message);
showUpdateStatusToast('Update Error');