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:
36 files changed
+828
-298
No files matched your search
+2
-1
@@ -19,6 +19,7 @@
|
||||
<data name="About.ThirdPartyNone" xml:space="preserve"><value>None</value></data>
|
||||
<data name="About.Translation" xml:space="preserve"><value>Translation</value></data>
|
||||
<data name="About.Update.Available" xml:space="preserve"><value>Titano {0} available</value></data>
|
||||
<data name="About.Update.Cancel" xml:space="preserve"><value>Cancel</value></data>
|
||||
<data name="About.Update.Check" xml:space="preserve"><value>Check for updates</value></data>
|
||||
<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>
|
||||
@@ -28,6 +29,6 @@
|
||||
<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.Update.ShowFile" xml:space="preserve"><value>Show file</value></data>
|
||||
<data name="About.Updates" xml:space="preserve"><value>Updates</value></data>
|
||||
</root>
|
||||
@@ -4,13 +4,17 @@
|
||||
<resheader name="version"><value>2.0</value></resheader>
|
||||
<resheader name="reader"><value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
|
||||
<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.CancelDownload" xml:space="preserve"><value>Stop the download; Download resumes it later from where it stopped</value></data>
|
||||
<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, a system and codec report, settings and recent failed jobs into a folder you choose; passwords, tokens and photos are left out</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.Download" xml:space="preserve"><value>Download the setup, check it against the release's SHA-256 list and show it in Explorer · {0}</value></data>
|
||||
<data name="Tooltips.About.DownloadPage" xml:space="preserve"><value>Open the page of this release in the browser</value></data>
|
||||
<data name="Tooltips.About.DownloadPortable" xml:space="preserve"><value>Download the portable zip, check it against the release's SHA-256 list and show it in Explorer · {0}</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.ShowPortable" xml:space="preserve"><value>Show the verified zip in Explorer; close Titano and unpack it over this folder to upgrade. The data folder is kept</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>
|
||||
|
||||
Reference in new issue
Block a user