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§
- Check
Outcome - The result of checking this product’s release channel.
- Update
Progress - 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.argsexcludes the program name and starts withupgrade.