mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Updater: Fix manual update check when autoupdate is disabled
This commit is contained in:
@ -556,9 +556,10 @@ void MenuBar::AddOptionsMenu()
|
|||||||
|
|
||||||
void MenuBar::InstallUpdateManually()
|
void MenuBar::InstallUpdateManually()
|
||||||
{
|
{
|
||||||
auto* updater =
|
const std::string autoupdate_track = Config::Get(Config::MAIN_AUTOUPDATE_UPDATE_TRACK);
|
||||||
new Updater(this->parentWidget(), Config::Get(Config::MAIN_AUTOUPDATE_UPDATE_TRACK),
|
const std::string manual_track = autoupdate_track.empty() ? "dev" : autoupdate_track;
|
||||||
Config::Get(Config::MAIN_AUTOUPDATE_HASH_OVERRIDE));
|
auto* const updater = new Updater(this->parentWidget(), manual_track,
|
||||||
|
Config::Get(Config::MAIN_AUTOUPDATE_HASH_OVERRIDE));
|
||||||
|
|
||||||
if (!updater->CheckForUpdate())
|
if (!updater->CheckForUpdate())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user