mirror of
https://github.com/hoornet/vega.git
synced 2026-04-24 06:40:01 -07:00
Add auto-updater (Phase 1 #4)
- tauri-plugin-updater + tauri-plugin-process registered (Rust + npm) - Updater endpoint: github.com/hoornet/wrystr/releases/latest/download/latest.json - Ed25519 signing keypair generated; public key in tauri.conf.json; private key added to TAURI_SIGNING_PRIVATE_KEY GitHub secret - Release workflow passes TAURI_SIGNING_PRIVATE_KEY env var so tauri-action signs artifacts and generates latest.json manifest - useUpdater hook: checks for updates 5 s after startup (silent on error); exposes available, version, install(), dismiss() - UpdateBanner: dismissible top-of-app bar shown when an update is available — "Update & restart" downloads, installs, and relaunches Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -56,6 +56,8 @@ jobs:
|
||||
uses: tauri-apps/tauri-action@v0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
||||
with:
|
||||
tagName: ${{ github.ref_name }}
|
||||
releaseName: Wrystr ${{ github.ref_name }}
|
||||
|
||||
Reference in New Issue
Block a user