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>Checking…</value></data>
<data name="About.Update.Current" xml:space="preserve"><value>Up to date</value></data>
<data name="About.Update.Download" xml:space="preserve"><value>Download</value></data>
<data name="About.Update.DownloadFailed" xml:space="preserve"><value>Download failed</value></data>
<data name="About.Update.Downloading" xml:space="preserve"><value>Downloading {0:P0}</value></data>
<data name="About.Update.Failed" xml:space="preserve"><value>Check failed</value></data>
<data name="About.Update.NotVerified" xml:space="preserve"><value>Download not verified</value></data>
<data name="About.Update.Ready" xml:space="preserve"><value>Titano {0} downloaded</value></data>
<data name="About.Update.ShowSetup" xml:space="preserve"><value>Show setup</value></data>
<data name="About.Updates" xml:space="preserve"><value>Updates</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>Ask the public releases page for a newer version · a few seconds</value></data>
<data name="Tooltips.About.Diagnostics" xml:space="preserve"><value>Zip the logs and an environment report into a folder you choose; settings and passwords are not included</value></data>
<data name="Tooltips.About.Download" xml:space="preserve"><value>Open the release page in the browser</value></data>
<data name="Tooltips.About.Download" xml:space="preserve"><value>Download the setup, check it against the release's SHA-256 list and show it in Explorer · tens of MB</value></data>
<data name="Tooltips.About.Licence" xml:space="preserve"><value>Open the licence in the browser</value></data>
<data name="Tooltips.About.OpenData" xml:space="preserve"><value>Open the folder with database, settings and logs</value></data>
<data name="Tooltips.About.Releases" xml:space="preserve"><value>Open the public releases page in the browser</value></data>
<data name="Tooltips.About.Review" xml:space="preserve"><value>Every language but English is machine-translated; propose a better wording on the public issue tracker</value></data>
<data name="Tooltips.About.ShowSetup" xml:space="preserve"><value>Show the verified setup in Explorer; close Titano and run it to upgrade. Archive and settings are kept</value></data>
<data name="Tooltips.About.ThirdParty" xml:space="preserve"><value>Titano uses no third-party code: everything beyond .NET and Windows is written in-house</value></data>
<data name="Tooltips.Common.Dismiss" xml:space="preserve"><value>Dismiss</value></data>
<data name="Tooltips.Common.OpenLogs" xml:space="preserve"><value>Open the folder with the log files</value></data>