Qt: more package install fixes

- Clean directories if fill_path fails
- Fix check_target_app_version when installing multiple packages (compromise: no more optimized singular file installs for now)
This commit is contained in:
Megamouse 2023-01-11 03:06:52 +01:00
parent fc85ed8730
commit 12fa7c41f6
4 changed files with 71 additions and 36 deletions

View file

@ -92,8 +92,8 @@ namespace rpcs3::utils
named_thread worker("PKG Installer", [&]
{
std::deque<std::string> bootables;
return package_reader::extract_data(reader, bootables);
const package_error error = package_reader::extract_data(reader, bootables);
return error == package_error::no_error;
});
// Wait for the completion