Skip to main content

Module update

Module update 

Source

Functionsยง

current_version
Current compiled-in version from Cargo.toml.
self_update
Self-update the purple binary to the latest release.
spawn_version_check
Spawn a background thread to check for updates. Sends an event if a newer version exists. Uses a local cache (~/.purple/last_version_check) with a 1h TTL to avoid unnecessary GitHub API calls on frequent startup. Silently does nothing on any error.
update_hint
Detect the update command appropriate for how purple was installed.