ApplyUpdate

Function ApplyUpdate 

Source
pub async fn ApplyUpdate(
    update_id: String,
    update_path: String,
) -> Result<bool, String>
Expand description

Command: Apply Update

Applies a downloaded update to the application. Delegates to Air’s update installation service.

§Arguments

  • app_handle - Tauri application handle
  • update_id - Identifier of the update to apply
  • update_path - Path to the update package

§Returns

Success status or error message