CheckForUpdates

Function CheckForUpdates 

Source
pub async fn CheckForUpdates(
    current_version: Option<String>,
    channel: Option<String>,
) -> Result<UpdateInfoDTO, String>
Expand description

Command: Check for Updates

Checks if a newer version of the application is available. Delegates to Air’s update checking service.

§Arguments

  • app_handle - Tauri application handle
  • current_version - Current application version
  • channel - Update channel (“stable”, “beta”, “nightly”)

§Returns

UpdateInfoDTO with update information or error message