Files
clash-verge-rev/src-tauri
Tunglies 7dfaf3221c feat(updater): stage updates for a one-action restart
A daily cycle (first check 10s after start, gated by auto_check_update)
checks the server and stages the current offer's installer under a name
stamped with its version: only a surviving future publishes the staged
file, and a stage that no longer verifies against the offer is replaced.
The staged version is exposed through the get_staged_update command and
the verge://staged-update-changed event, so the update button becomes a
single restart action when the installer is ready. An install displaces
the cycle; a cancel never touches staged bytes, and turning
auto_check_update off stops new downloads without a discard protocol.
2026-11-27 22:41:08 +08:00
..
2025-02-27 03:18:23 +08:00
2024-06-20 13:50:28 +08:00