Skip to main content

Module update

Module update 

Source
Expand description

Self-update: check GitHub Releases for newer versions, download and replace the running binary in-place.

Replacing at the same path preserves macOS TCC grants (Accessibility, Input Monitoring, Microphone).

Structs§

UpdateInfo
Information about an available update.

Functions§

apply_update
Download the release artifact and replace the current binary in-place.
check_for_update
Check GitHub Releases for a version newer than current_version.