fix(app): resumable, cancellable update download; portable copies get the portable zip

- UpdateFlow owns the update notice (check, download, cancel) as a plain class;
  AboutViewModel only maps it to text and commands.
- A portable copy downloads and verifies Titano-win-x64-portable-<v>.zip instead
  of the setup; a release without the package or SHA256SUMS opens its page.
- The download fails after 60 s without data instead of after 30 minutes,
  keeps its .part file and resumes it with a range request; Cancel stops it.
- Older release folders under %TEMP%\Titano\updates are removed after a
  verified download; an unexpected exception never leaves "Downloading".
- Tooltips show the package size; stale machine translations of the three
  rewritten tooltips are removed so they fall back to English.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-03 10:00:54 +00:00
1 parent aac2539276
commit ffa05d9f69
36 files changed
+828 -298

No files matched your search

+2 -1
View File
@@ -19,6 +19,7 @@
<data name="About.ThirdPartyNone" xml:space="preserve"><value>Nessuno</value></data>
<data name="About.Translation" xml:space="preserve"><value>Traduzione</value></data>
<data name="About.Update.Available" xml:space="preserve"><value>Titano {0} disponibile</value></data>
<data name="About.Update.Cancel" xml:space="preserve"><value>Annulla</value></data>
<data name="About.Update.Check" xml:space="preserve"><value>Cerca aggiornamenti</value></data>
<data name="About.Update.Checking" xml:space="preserve"><value>Verifica in corso…</value></data>
<data name="About.Update.Current" xml:space="preserve"><value>Aggiornato</value></data>
@@ -28,6 +29,6 @@
<data name="About.Update.Failed" xml:space="preserve"><value>Verifica non riuscita</value></data>
<data name="About.Update.NotVerified" xml:space="preserve"><value>Download non verificato</value></data>
<data name="About.Update.Ready" xml:space="preserve"><value>Titano {0} scaricato</value></data>
<data name="About.Update.ShowSetup" xml:space="preserve"><value>Mostra installer</value></data>
<data name="About.Update.ShowFile" xml:space="preserve"><value>Mostra file</value></data>
<data name="About.Updates" xml:space="preserve"><value>Aggiornamenti</value></data>
</root>