Skip to main content

updater_config

Function updater_config 

Source
pub fn updater_config() -> UpdaterConfig
Expand description

The self-updater configuration (bd-7b8ba4 builds on this).

omni-cli is a PRIVATE repo, so the GitHub releases API + asset downloads need auth — an unauthenticated omni update 404s on releases/latest. Source a bearer token from GITHUB_TOKEN if set, otherwise fall back to the local gh CLI (gh auth token). Harmless for a public repo (the header is just ignored), so this is correct either way.