Skip to main content

check_for_update

Function check_for_update 

Source
pub async fn check_for_update(app: &AppHandle) -> Result<UpdateStatus, AppError>
Expand description

Check the configured updater endpoint for a newer version.

Returns UpdateStatus::Available { … } when a newer release is published, or UpdateStatus::UpToDate when the current version is current.

The caller is responsible for emitting updater:status events so the frontend can track transitions.