Skip to main content

Module updater_cmd

Module updater_cmd 

Source
Expand description

Tauri commands for auto-update operations.

§Commands

  • updater_check — checks the update endpoint; emits updater:status transitions (CheckingAvailable/UpToDate/Error).
  • updater_install — downloads and installs a pending update; emits Downloading { progress }Ready (or Error).

§OCP

New updater commands are additive — each is an independent #[tauri::command] registered in lib.rs. UpdateStatus variants in updater/mod.rs extend without touching these handlers.

Functions§

updater_check
Check the configured update endpoint for a newer release.
updater_install
Download and install the pending update.
updater_restart
Restart the application after a successful updater_install.