feat(app): download the update and verify it against SHA256SUMS

Download now fetches the desktop setup of the latest release into
%TEMP%\Titano\updates\<tag>, keeps it only when its SHA-256 matches the
release's SHA256SUMS line, and shows it in Explorer. BRIEF 8.6 does not list
starting an installer among the allowed shell actions, so the user runs it.
A release without a setup or SHA256SUMS still opens its page; capture runs
never download.

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-02 22:20:45 +00:00
1 parent d0beb7d3bf
commit 85d091d1fe
11 files changed
+436 -15

No files matched your search

+5
View File
@@ -23,6 +23,11 @@
<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>
<data name="About.Update.Download" xml:space="preserve"><value>Scarica</value></data>
<data name="About.Update.DownloadFailed" xml:space="preserve"><value>Download non riuscito</value></data>
<data name="About.Update.Downloading" xml:space="preserve"><value>Download in corso {0:P0}</value></data>
<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.Updates" xml:space="preserve"><value>Aggiornamenti</value></data>
</root>
+2 -1
View File
@@ -6,11 +6,12 @@
<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
<data name="Tooltips.About.Check" xml:space="preserve"><value>Chiede alla pagina pubblica delle versioni se ne esiste una più recente · pochi secondi</value></data>
<data name="Tooltips.About.Diagnostics" xml:space="preserve"><value>Comprime i log e un rapporto sull'ambiente in una cartella a tua scelta; impostazioni e password non sono incluse</value></data>
<data name="Tooltips.About.Download" xml:space="preserve"><value>Apre la pagina della versione nel browser</value></data>
<data name="Tooltips.About.Download" xml:space="preserve"><value>Scarica l'installer, lo confronta con l'elenco SHA-256 della versione e lo mostra in Esplora file · decine di MB</value></data>
<data name="Tooltips.About.Licence" xml:space="preserve"><value>Apre la licenza nel browser</value></data>
<data name="Tooltips.About.OpenData" xml:space="preserve"><value>Apri la cartella con database, impostazioni e log</value></data>
<data name="Tooltips.About.Releases" xml:space="preserve"><value>Apri la pagina pubblica delle versioni nel browser</value></data>
<data name="Tooltips.About.Review" xml:space="preserve"><value>Tutte le lingue tranne l'inglese sono tradotte automaticamente; proponi una formulazione migliore nel tracker pubblico</value></data>
<data name="Tooltips.About.ShowSetup" xml:space="preserve"><value>Mostra in Esplora file l'installer verificato; chiudi Titano ed eseguilo per aggiornare. Archivio e impostazioni restano invariati</value></data>
<data name="Tooltips.About.ThirdParty" xml:space="preserve"><value>Titano non usa codice di terze parti: tutto ciò che va oltre .NET e Windows è scritto internamente</value></data>
<data name="Tooltips.Common.Dismiss" xml:space="preserve"><value>Chiudi</value></data>
<data name="Tooltips.Common.OpenLogs" xml:space="preserve"><value>Apri la cartella dei file di log</value></data>