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

@ -286,7 +286,8 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine
if (!Settings::Instance().IsBatchModeEnabled())
{
auto* updater = new Updater(&win);
auto* updater = new Updater(&win, Config::Get(Config::MAIN_AUTOUPDATE_UPDATE_TRACK),
Config::Get(Config::MAIN_AUTOUPDATE_HASH_OVERRIDE));
updater->start();
}