Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve update check #23

Merged
merged 2 commits into from
Aug 1, 2022
Merged

Improve update check #23

merged 2 commits into from
Aug 1, 2022

Conversation

Plastikmensch
Copy link
Owner

Should've split this into 2 PRs, oh well.

Refactor of update check includes adding of compareVersions function, which validates semver via regex and changes when an update message is printed to console. This could be refined further.
Still not happy with the getVersion function, but that's a task for another time.
This PR also adds a config option to disable update checks and some stylistic changes.

@Plastikmensch Plastikmensch added feature Features refactor Code refactors labels Aug 1, 2022
@Plastikmensch Plastikmensch merged commit 290f64e into master Aug 1, 2022
@Plastikmensch Plastikmensch deleted the update-check branch August 1, 2022 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Features refactor Code refactors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant