Skip to main content

Module update

Module update 

Source

Structs§

VersionCheck

Functions§

check_version
Check if a newer version is available on GitHub
current_version
fetch_latest_version
Fetch the latest release tag from GitHub API with a short timeout
parse_semver
Parse a version string (strips leading ‘v’ if present) into (major, minor, patch)
print_update_warning
Print a warning that a newer version is available
run_update
Run the appropriate update command for the current platform