Implement launcher update check and improve migration process#17
Merged
Implement launcher update check and improve migration process#17
Conversation
Co-authored-by: Copilot <copilot@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and new features to the Peacock AppImage launcher, focusing on enhancing the migration process from the legacy setup, adding update checking and download functionality for the launcher itself, and improving service management during migration. It also updates documentation to guide users through these new workflows.
Migration and Service Management Improvements:
MigrationResultstructure. This ensures smoother transitions from legacy setups and clearer feedback to the user. [1] [2] [3] [4] [5]Launcher Update Detection and Download:
LauncherStatustype and logic to check for updates by querying the latest GitHub release, displaying "Download latest launcher" in the main menu, and opening the releases page in the browser when selected. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]Documentation Updates:
MIGRATION.mdguide and updates theREADME.mdto document the migration process, new service management, and the recommended workflow for switching from the legacy patcher method. [1] [2] [3]Build and Versioning Enhancements:
Cargo.tomlfrom the git tag at build time, ensuring accurate version reporting for update checks. [1] [2]Minor Code and Usability Improvements:
These changes collectively modernize the launcher experience, make migrations safer and more transparent, and introduce a user-friendly update mechanism for the AppImage itself.