mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-07 15:40:18 +00:00
Merge pull request #9247 from Dentomologist/fix-updater-temporary-folder
Fix updater not always cleaning up temp directory
This commit is contained in:
commit
5921a93d71
@ -755,10 +755,10 @@ bool RunUpdater(std::vector<std::string> args)
|
||||
UI::SetDescription("Performing Update...");
|
||||
|
||||
bool ok = PerformUpdate(todo, opts.install_base_path, opts.content_store_url, temp_dir);
|
||||
CleanUpTempDir(temp_dir, todo);
|
||||
if (!ok)
|
||||
{
|
||||
FatalError("Failed to apply the update.");
|
||||
CleanUpTempDir(temp_dir, todo);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user