Add Built-in Update Workflows#2577
Merged
Merged
Conversation
Change current behavior to show the release changelog when there is no infos for the latest shown release. This is useful for users when they update to Chipmunk 4 for the first time.
* Restructure release & update code into update module and sub-modules * Resolve application installation process for running app instance. * Resolve artifact names for each platform. * Include pre-release in check for updates. * Keep fetching releases if first 10 releases doesn't include a release candidate (Edge case can happen on adding many pre-releases) * Add download button to update banner sending command to download the matching artifact * Add dependencies for unpacking archives * Unpack archives is implemented but not used. * Run installers on app close * Unpack and replace application on Linux and MacOS * Unpack and replace on Windows using PowerShell script
Replace manual implementation for temporary files and directories with `TempDir` crate to ensure those files will get cleaned up
* Avoid having temporary copies of the software for Windows and MacOS for cases if rewrite failed. * Cleanup extract bundle on MacOS as it's not part of the release download directory
* Place downloaded artifacts directly in download dir to avoid nesting * Cleanup update artifacts for the current release when exist
* Improve wording for download succeed message
+ Small fix to avoid fetching changelogs when check for updates is disabled
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 PR adds a built-in updater workflow for chipmunk with support for manual unpacking and replacing app files and also support for installers. It includes:
Check for Updates...in the app menu.