Controllo aggiornamenti all'avvio spento di default: aKode contatta il Gitea solo con akode update

[update] check_on_startup passa da true a false (resta attivabile). Cosi' l'unico
contatto di rete verso il repository avviene su comando esplicito.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-17 17:58:09 +01:00
parent 2c78ef50e1
commit a67374b8f5
3 changed files with 6 additions and 4 deletions

View File

@@ -247,7 +247,9 @@ pub struct UpdateConfigToml {
/// Gitea repository URL (`https://host/owner/repo`) whose latest release is checked.
/// Defaults to the public aKode repository.
pub repo_url: Option<String>,
/// When `false`, the TUI never checks for a newer release on startup. Defaults to `true`.
/// When `true`, the TUI checks for a newer release in the background on startup (at most once
/// a day, never installs). Defaults to `false`: aKode only contacts the repository when you
/// run `akode update`.
pub check_on_startup: Option<bool>,
}