Skip to main content

Crate subspace_update

Crate subspace_update 

Source
Expand description

Authenticated, checksum-verified updates for Subspace Framework apps.

An app declares an update source in its product descriptor; this crate turns that into a release check, a verified download and an install that leaves the previous version in place when anything fails. The modules are the steps: [github] talks to the API, [archive] names and unpacks an asset, [install] replaces an executable, [bundle] swaps a macOS app bundle, [token] resolves the credential, and [cli] is the upgrade command.

Structs§

Installed
What an install replaced.
Release
One published release of an app.
Updater
The updater for one app build.

Enums§

CheckOutcome
The result of checking this product’s release channel.
UpdateProgress
The current install phase. Download bytes describe only the release archive.

Functions§

cleanup_previous
Called once at launch. Only Windows leaves a previous executable behind.
run_cli
Runs upgrade. args excludes the program name and starts with upgrade.