Skip to main content

Crate a3s_updater

Crate a3s_updater 

Source
Expand description

Self-update library for A3S CLI binaries via GitHub Releases.

Each binary provides an UpdateConfig describing itself, then calls run_update to check for a newer release, download the matching platform asset, and replace the running binary in-place.

Structs§

Release
A GitHub release.
UpdateConfig
Configuration for the update check — each binary provides its own.

Functions§

run_update
Run the full update flow: check -> download -> replace.