Skip to main content

perform_update

Function perform_update 

Source
pub async fn perform_update(info: &UpdateInfo) -> Result<()>
Expand description

Downloads the release archive for [BUILD_TARGET], verifies its SHA-256 against the release SHA256SUMS, and replaces the running executable.

Only valid when UpdateInfo::can_self_update is true.