forgot to change this over

This commit is contained in:
ElBread3 2024-10-11 12:38:29 -05:00
parent 7bab3961e9
commit 0c0df20afb

View File

@ -679,8 +679,8 @@ void MainWindow::InstallDragDropPkg(std::filesystem::path file, int pkgNum, int
auto game_folder_path = game_install_dir / pkg.GetTitleID(); auto game_folder_path = game_install_dir / pkg.GetTitleID();
QString pkgType = QString::fromStdString(pkg.GetPkgFlags()); QString pkgType = QString::fromStdString(pkg.GetPkgFlags());
bool use_game_update = pkgType.contains("Patch") && Config::getSeparateUpdateEnabled(); bool use_game_update = pkgType.contains("Patch") && Config::getSeparateUpdateEnabled();
auto game_update_path = use_game_update ? Config::getGameInstallDir() / auto game_update_path = use_game_update
(std::string(pkg.GetTitleID()) + "-UPDATE") ? game_install_dir / (std::string(pkg.GetTitleID()) + "-UPDATE")
: game_folder_path; : game_folder_path;
if (!std::filesystem::exists(game_update_path)) { if (!std::filesystem::exists(game_update_path)) {
std::filesystem::create_directory(game_update_path); std::filesystem::create_directory(game_update_path);