Repository navigation
Versora 0.3.0
$notesFile = Join-Path $env:TEMP 'versora-0.3.0-notes.md'
[IO.File]::WriteAllText($notesFile, $notes.Trim() + "n", [Text.UTF8Encoding]::new($false)) gh release create v0.3.0 -R mimateinn/Versora --verify-tag --latest
--title "Versora 0.3.0" --notes-file $notesFile "$out\Versora-0.3.0-win32-x64-setup.exe"
"$out\Versora-0.3.0-win32-x64-setup.exe.sig" `
"$out\SHA256SUMS.txt"
5. The tag push also starts .github/workflows/versora-release.yml. Cancel it: it would
rebuild and fail at signing (no secrets) or at "gh release create" (release exists).
gh run list -R mimateinn/Versora --workflow versora-release.yml --limit 1
gh run cancel -R mimateinn/Versora
6. Check what the updater will see.
gh api repos/mimateinn/Versora/releases/tags/v0.3.0 --jq '.draft, .prerelease, .html_url, (.assets[] | .name + " " + .state + " " + .browser_download_url)'
Alternative (CI builds and signs instead of this PC): set repo secrets `TAURI_SIGNING_PRIVATE_KEY`
and `TAURI_SIGNING_PRIVATE_KEY_PASSWORD`, do steps 1-3 with the release notes as the annotated tag
message, skip 4-5. The CI installer will have a different digest from the local one.
## Release notes (zh-Hant; also shown in the app as 「有咩新」)
<!-- notes-begin -->
Versora 0.3.0 係第一個正式版原生 Windows 桌面版,亦係第一個識自己更新嘅版本。
介面同 Litora 統一:得返「標準」同「Opal」兩個主題,Opal 用 Litora 嘅畫布同玻璃質感;頁面導航改用角落圓幣;捲軸跟強調色。
自動更新:開 app 大約 10 秒後檢查一次,之後每 4 小時再查。有新版就喺背景下載安裝程式,用 Versora 內建嘅發行者公鑰驗證簽名,驗證通過先會喺右下角顯示「新版本 X · 重新啟動」。撳一下就靜默安裝並重開;撳 × 收埋,下次關 app 時先安裝。翻譯進行中或者有未儲存嘅修改,重新啟動前會先問。更新後第一次開會顯示「已更新到 X」同「有咩新」。設定 › 更新 可以睇狀態、進度、更新內容,同改自動下載、頻道同檢查時間。
由 0.3.0-preview.1 升級:舊版未有公鑰,只會通知有新版並開發佈頁。請手動下載安裝呢個版本一次,之後嘅版本會自動更新。
下載 Versora-0.3.0-win32-x64-setup.exe 同 SHA256SUMS.txt。.sig 檔係 app 內更新用嘅簽名,唔使手動下載。需要 Windows 10/11 x64 同已安裝嘅 Evergreen WebView2 Runtime。安裝位置係 %LOCALAPPDATA%\Programs\Versora;升級同解除安裝都會保留應用資料、輸出同不明檔案。
驗證:
- Rust workspace 測試 165 個通過、0 個失敗、1 個子進程 helper 略過;更新策略測試 32 個全部通過。
- 安裝程式嘅簽名用 app 自己嘅驗證程式碼同已提交嘅公鑰驗證通過;改用錯誤版本號驗證會被拒絕。
- UI 原始碼凍結清單 53 個檔案全部吻合。
目前限制:
- 安裝程式冇 Authenticode 簽署,Windows SmartScreen 可能會警告。
- 冇自動回滾;更新失敗時安裝程式會還原舊版。
- 付費 API、已登入 CLI 嘅真實翻譯同模型質素未測試(NOT_RUN)。
- 呢個版本喺本機未做原生 UI 回歸同安裝/更新交接測試;/UPDATE 同 /RELAUNCH 交接只喺 CI 驗證過。
安裝程式:73,612,908 bytes。SHA-256:b911697a6015258791350a5bd68359ec94ab1548d407a324c86b3fd758d91615