tauri_sys::updater

Function check_update

Source
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 needed