Function tauri_wasm::plugin::updater::install_update
source · pub async fn install_update() -> Result<()>
Expand description
Install the update if there’s one available.
§Example
use tauri_wasm::plugin::updater::{check_update, install_update};
let update = check_update().await?;
if update.should_update {
log::info("Installing update {:?}", update.manifest);
install_update().await?;
}