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
@@ -5,8 +5,6 @@
|
||||
<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.Check" xml:space="preserve"><value>向公開發行頁面查詢是否有較新版本 · 需要幾秒鐘</value></data>
|
||||
<data name="Tooltips.About.Diagnostics" xml:space="preserve"><value>將記錄與環境報告壓縮到您選擇的資料夾;不包含設定與密碼</value></data>
|
||||
<data name="Tooltips.About.Download" xml:space="preserve"><value>在瀏覽器中開啟發行頁面</value></data>
|
||||
<data name="Tooltips.About.Licence" xml:space="preserve"><value>在瀏覽器中開啟授權條款</value></data>
|
||||
<data name="Tooltips.About.OpenData" xml:space="preserve"><value>開啟存放資料庫、設定與記錄的資料夾</value></data>
|
||||
<data name="Tooltips.About.Releases" xml:space="preserve"><value>在瀏覽器中開啟公開發行頁面</value></data>
|
||||
@@ -135,7 +133,6 @@
|
||||
<data name="Tooltips.Settings.ClearCacheAsk" xml:space="preserve"><value>刪除溢出的影格與快取的縮圖;會先詢問</value></data>
|
||||
<data name="Tooltips.Settings.DataFolder" xml:space="preserve"><value>此電腦的資料庫、設定、記錄與快取</value></data>
|
||||
<data name="Tooltips.Settings.DefaultServer" xml:space="preserve"><value>Titano 啟動時連線的伺服器;變更後會登出 · Enter 套用,Esc 還原</value></data>
|
||||
<data name="Tooltips.Settings.Diagnostics" xml:space="preserve"><value>將記錄與環境報告壓縮到您選擇的資料夾</value></data>
|
||||
<data name="Tooltips.Settings.Export" xml:space="preserve"><value>將所有設定儲存為 JSON,不含工作階段權杖</value></data>
|
||||
<data name="Tooltips.Settings.FileTemplate" xml:space="preserve"><value>每個影格的檔名,例如 {date}_{time}_{n:0000};副檔名會自動加上 · Enter 套用,Esc 還原</value></data>
|
||||
<data name="Tooltips.Settings.FolderTemplate" xml:space="preserve"><value>典藏庫資料夾,例如 {year}/{date} {camera};斜線表示開始一個子資料夾 · Enter 套用,Esc 還原</value></data>
|
||||
|
||||
Reference in new issue
Block a user