Config: Port AutoUpdate settings to new config system.

This commit is contained in:
Admiral H. Curtiss
2021-12-27 19:09:47 +01:00
parent 8d237eb102
commit 96fa0919be
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();