Skip to main content

check_for_update

Function check_for_update 

Source
pub async fn check_for_update(app: AppHandle) -> Result<UpdateInfo, String>
Expand description

Hit the GitHub Releases API and compare the latest tag against the running version. 10-second timeout; errors stringify the underlying reqwest / parse failure for display in the About tab.