Merge pull request #252 from qurious-pixel/patch-1

Move "game_data" to RW directory inside user folder for linux
This commit is contained in:
georgemoralis 2024-07-16 23:05:29 +03:00 committed by GitHub
commit 7ad44317f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 13 deletions

View file

@ -48,7 +48,7 @@ bool TRP::Extract(std::filesystem::path trophyPath) {
return false;
s64 seekPos = sizeof(TrpHeader);
std::filesystem::path trpFilesPath(std::filesystem::current_path() / "game_data" /
std::filesystem::path trpFilesPath(std::filesystem::current_path() / "user/game_data" /
title / "TrophyFiles" / it.path().stem());
std::filesystem::create_directories(trpFilesPath / "Icons");
std::filesystem::create_directory(trpFilesPath / "Xml");
@ -88,4 +88,4 @@ bool TRP::Extract(std::filesystem::path trophyPath) {
index++;
}
return true;
}
}