Function tauri_sys::updater::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