pub async fn install_update(app: &AppHandle) -> Result<(), AppError>Expand description
Download and stage the pending update, emitting Downloading { progress }
events along the way so the UI’s progress bar can advance.
Must only be called after check_for_update has returned
UpdateStatus::Available. Calling this when no update is pending returns
AppError::Validation.