Config: Port AutoUpdate settings to new config system.

This commit is contained in:
Admiral H. Curtiss 2021-12-27 19:09:47 +01:00
commit 96fa0919be
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
13 changed files with 44 additions and 52 deletions

View file

@ -4,6 +4,7 @@
#pragma once
#include <string>
#include <string_view>
// Refer to docs/autoupdate_overview.md for a detailed overview of the autoupdate process
@ -14,7 +15,7 @@ class AutoUpdateChecker
public:
// Initiates a check for updates in the background. Calls the OnUpdateAvailable callback if an
// update is available, does "nothing" otherwise.
void CheckForUpdate();
void CheckForUpdate(std::string_view update_track, std::string_view hash_override);
static bool SystemSupportsAutoUpdates();