When to use this skill
ALWAYS use this skill when the user mentions:
- Auto-updates or OTA updates for the app
- Signing keys for update verification
- Update server configuration
Trigger phrases include:
- "updater", "auto-update", "OTA", "signing key", "update server", "app update"
How to use this skill
- Install the updater plugin:
cargo add tauri-plugin-updater - Generate signing keys:
npx @tauri-apps/cli signer generate -w ~/.tauri/myapp.key - Configure the updater in
tauri.conf.json:{ "plugins": { "updater": { "endpoints": ["https://releases.example.com/{{target}}/{{arch}}/{{current_version}}"], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ..." } } } - Register the plugin and check for updates:
import { check } from '@tauri-apps/plugin-updater'; const update = await check(); if (update) { await update.downloadAndInstall(); // Optionally restart the app } - Configure capabilities in
src-tauri/capabilities/default.json:{ "permissions": ["updater:default"] } - Set up your update server to serve JSON metadata with version, download URL, and signature
Outputs
- Updater plugin setup with signing keys
- Update check and install flow
- Update server endpoint configuration
References
- https://v2.tauri.app/plugin/updater/
Keywords
tauri updater, auto-update, OTA, signing key, update server, app update