mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-21 15:41:17 +00:00
- Fix 1: when manual check finds update and electron-updater hasn't started downloading yet (autoDownloadStatus=idle), fire-and-forget checkForUpdate() to kick off the auto-download pipeline without blocking the UI - Fix 2: manualCheckStatus='up-to-date' now auto-resets to 'idle' after 5s so the badge doesn't stay stale until the next check; any new check cancels the pending timer first - Fix 3: SettingsSystemTab shows "last checked: X min ago" below the update section using lastCheckedAt from updateState; new i18n keys added for both zh-CN and en locales (lastCheckedJustNow, lastCheckedMinutesAgo, lastCheckedHoursAgo, lastCheckedPrefix) Internal: add autoDownloadStatusRef and manualCheckResetTimeoutRef to useUpdateCheck for reliable cross-closure state access and timer lifecycle.