Skip to content

Feat/update#39

Merged
stackingcats merged 3 commits intomainfrom
feat/update
Mar 3, 2021
Merged

Feat/update#39
stackingcats merged 3 commits intomainfrom
feat/update

Conversation

@stackingcats
Copy link
Copy Markdown
Collaborator

@stackingcats stackingcats commented Mar 2, 2021

This PR adds a basic update functionality. If current version is not the latest non-pre-release version, an update prompt is displayed. The versions are checked every 15 minutes. This is not an auto-update feature but nevertheless makes the process smoother.

Closes #1

For testing:

  • v1.0.0-testnet.10 is the first release that introduces the update functionality.
  • when running v1.0.0-testnet.10, there should be an update prompt as the v1.0.0-testnet.11 is already available.
  • after updating from v1.0.0-testnet.10 to the newest release, the update prompt should not appear again unless a newer version comes up.

The update logic does not count with pre-releases for simplicity's sake.

@stackingcats stackingcats requested a review from maybeast March 2, 2021 15:39
@stackingcats stackingcats self-assigned this Mar 2, 2021
@stackingcats stackingcats merged commit b4d24a0 into main Mar 3, 2021
@stackingcats stackingcats deleted the feat/update branch March 3, 2021 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update feature

2 participants