Skip to main content

check_for_update

Function check_for_update 

Source
pub fn check_for_update(
    current_version: &str,
) -> Result<Option<String>, UpdateError>
Expand description

Check GitHub releases for a newer version and return the download URL if available.

ยงErrors

Returns an error when release metadata cannot be fetched or compared.