Skip to main content

Module update

Module update 

Source
Expand description

Version check + self-update.

On startup (when update_check = true, default) a background thread asks GitHub for the latest release tag — non-blocking, silent on any failure, throttled to one network hit per ~4h via ~/.xei/update_check (which caches the found version so throttled launches still banner). When a newer version exists the welcome screen shows a notice and :update swaps the running binary in place (download → gunzip → atomic rename over current_exe), which works for npm / brew / cargo / curl installs alike.

Structs§

UpdateState