mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-11-30 19:26:59 +08:00
With auto download on, the backend loop only checks 60 seconds after launch, and the download itself takes another minute or so. The frontend already knows about the new version one second after launch, but the About page just showed "Update to vX" with nothing about the download, so the toggle looked like it did nothing. - When the startup check finds a new version and the toggle is on, ask the backend to download it right away. Each version is started once; a failed download is left to the background loop. Dev builds skip this, like the loop does, since they share settings.json with the installed app. - AutoUpdateStatus now reports `enabled` so the frontend knows the toggle state; the toggle itself goes through the same download entry. - The About page shows "downloading in the background" or "downloaded" under the new-version notice (all eight locales).