pub async fn check_update() -> Result<UpdateResult, Error>Expand description
Checks if an update is available.
ยงExample
use tauri_sys::updater::check_update;
let update = check_update().await?;
// now run installUpdate() if neededpub async fn check_update() -> Result<UpdateResult, Error>Checks if an update is available.
use tauri_sys::updater::check_update;
let update = check_update().await?;
// now run installUpdate() if needed