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

Feature: Add auto-updater #9

Open
Linkaaaaa opened this issue Sep 5, 2022 · 1 comment
Open

Feature: Add auto-updater #9

Linkaaaaa opened this issue Sep 5, 2022 · 1 comment
Labels
enhancement New feature or request raidcore-api Use Raidcore API for implementation

Comments

@Linkaaaaa
Copy link
Contributor

Add auto version updater similar to Knox's in game updater

@DeltaGW2 DeltaGW2 added enhancement New feature or request help wanted Extra attention is needed labels Sep 5, 2022
@knoxfighter
Copy link

knoxfighter commented Sep 7, 2022

You can use the code we use :)
You just need two files as base:

There is also a googletest for it: UpdateCheckerTest.cpp

Dependencies are nlohman-json and cpr. The cpr dependency can be removed by setting the macro ARCDPS_EXTENSION_NO_CPR. If you set that macro, you have to implement GetLatestRelease and HttpDownload yourself.

The code for the ImGui window can be found in UpdateChecker.cpp. Which has a lot of dependencies in the extensions repo (UpdateChecker.h)

@DeltaGW2 DeltaGW2 changed the title Improvement: Add auto-updater Feature: Add auto-updater Sep 11, 2022
@DeltaGW2 DeltaGW2 removed the help wanted Extra attention is needed label Sep 13, 2022
@DeltaGW2 DeltaGW2 added the raidcore-api Use Raidcore API for implementation label Sep 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request raidcore-api Use Raidcore API for implementation
Projects
Status: Backlog
Development

No branches or pull requests

3 participants