Skip to main content

perform_update

Function perform_update 

Source
pub async fn perform_update(
    check: &UpdateCheck,
    progress: &dyn ProgressReporter,
) -> Result<UpdateResult>
Expand description

Download and install the update, replacing the current binary.

Downloads the release archive and its detached .sig file, verifies the ML-DSA-65 signature against the embedded release key, extracts the binary, and replaces the running executable.