Tauri Updater Install Flow

Use when wiring the Tauri v2 updater's check / download / install UX — `import { check } from '@tauri-apps/plugin-updater'`, `update.downloadAndInstall(handler)` with `Started` / `Progress` / `Finished` events, mapping those to a progress bar in the UI, calling `relaunch()` from `@tauri-apps/plugin-process` to restart, implementing skip-this-version with `version_comparator`, deferred install ("download now, install on next launch") by separating `download()` and `install()`, gating mandatory vs optional updates, and the equivalent Rust flow via `app.updater()?.check().await?`. Pairs with [[tauri-updater-signing-keys]] for keys and [[tauri-updater-github-releases]] for the manifest source.

stuffbucket 28604aa 3 files · 19.9 KB Updated

File contents

stuffbucket/skills/tree/main/plugins/stuffbucket/skills/tauri-updater-install-flow commit 28604aa4ec

Frequently asked questions

npx skillmds@latest add stuffbucket/tauri-updater-install-flow