Skip to content

feat: in-app updates via tauri-plugin-updater#40

Merged
dave6892 merged 8 commits into
mainfrom
feat/in-app-updates
Mar 28, 2026
Merged

feat: in-app updates via tauri-plugin-updater#40
dave6892 merged 8 commits into
mainfrom
feat/in-app-updates

Conversation

@dave6892

@dave6892 dave6892 commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds tauri-plugin-updater (Rust + JS) to check for and install updates from within the app
  • Settings view shows current version and an install button when a newer version is available
  • CI publish-update job generates and pushes latest.json to GitHub Pages after each release build
  • Signing secrets (TAURI_SIGNING_PRIVATE_KEY) passed to tauri-action so artifacts are signed

How it works

  1. User opens Settings → app calls check_for_update → fetches https://fetchflow.github.io/nichinichi/latest.json
  2. If a newer version exists, an "Update to vX.Y.Z — Install & Restart" button appears
  3. Clicking it downloads the signed package, verifies the Ed25519 signature, applies the update, and restarts

Before merging

  • Add TAURI_SIGNING_PRIVATE_KEY and TAURI_SIGNING_PRIVATE_KEY_PASSWORD as GitHub Actions secrets
  • Enable GitHub Pages on the gh-pages branch (Settings → Pages)
  • Confirm https://fetchflow.github.io/nichinichi/latest.json is accessible

See docs/releasing.md for the full setup and release workflow.

🤖 Generated with Claude Code

@dave6892 dave6892 self-assigned this Mar 28, 2026
@dave6892 dave6892 added release documentation Improvements or additions to documentation enhancement New feature or request and removed release labels Mar 28, 2026
@dave6892 dave6892 merged commit 770fef3 into main Mar 28, 2026
2 checks passed
@dave6892 dave6892 deleted the feat/in-app-updates branch March 28, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant