Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

feat: use Github Release API for updater and changelog #122

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

defvs
Copy link
Collaborator

@defvs defvs commented Jun 19, 2020

Fixes #53
Fixes #106

This uses a new (lightweight) library. Dealing with the current JSON parsers was a mess and Klaxon allows easy inline stuff.
The new updater doesn't download automatically anymore. It instead opens a browser to the release page for the user to download the update himself. This fixes the issues with the updater not working with installers by... well... removing the updater.

Also, the changelog uses github releases and their body to generate itself.

@defvs defvs requested a review from xeruf June 19, 2020 21:51
@defvs defvs self-assigned this Jun 19, 2020
@defvs
Copy link
Collaborator Author

defvs commented Jun 27, 2020

@xerus2000 please review this when you got time on your hands !

Copy link
Owner

@xeruf xeruf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks fine, but I don't know Klaxon and I can't test an actual build right now.

@defvs
Copy link
Collaborator Author

defvs commented Nov 19, 2020

Can we merge this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove the changelog Move the auto-updater to use GitHub Releases
2 participants