mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-18 00:09:11 +00:00
Merge pull request #8217 from CookiePLMonster/windows-updater-improvements
Updates to auto-updater on Windows
This commit is contained in:
commit
8f6b237e11
5 changed files with 75 additions and 49 deletions
|
@ -95,6 +95,11 @@ void Updater::OnUpdateAvailable(const NewVersionInformation& info)
|
|||
AutoUpdateChecker::RestartMode::RESTART_AFTER_UPDATE);
|
||||
|
||||
if (!later)
|
||||
m_parent->close();
|
||||
{
|
||||
RunOnObject(m_parent, [this] {
|
||||
m_parent->close();
|
||||
return 0;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue