Expand description
Self-update functionality.
This module provides automatic update capabilities for the image optimizer tool. It can check for new releases on GitHub, download the appropriate binary for the current platform, and perform in-place updates with backup creation.
§Components
- Self updater: Main update orchestration and GitHub API interaction
- GitHub release: Data structures for GitHub API responses
- Platform detector: Determines the correct binary target for the current platform
- Version comparator: Semantic version comparison logic
- Executable manager: Current executable path management
Re-exports§
pub use self_updater::update_self;