Skip to main content

self_update

Function self_update 

Source
pub async fn self_update(
    check: bool,
    exe: Option<PathBuf>,
) -> Result<String, UpdateError>
Expand description

Checks for (and unless check, installs) a newer release; returns the message to print.

ยงErrors

Fetch, platform, checksum and replacement failures.