Skip to content

Commit

Permalink
feature: auto-detection for epic install folder
Browse files Browse the repository at this point in the history
It's amazing how people don't know how a file hierarchy works...
  • Loading branch information
blattersturm committed May 15, 2020
1 parent cc70a7c commit 291677e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/client/launcher/GameSelect.cpp
Expand Up @@ -112,6 +112,7 @@ std::optional<int> EnsureGamePath()
// 5 is the amount of characters to strip off the end
const std::tuple<std::wstring, std::wstring, int> folderAttempts[] = {
{ L"InstallFolderSteam", L"SOFTWARE\\WOW6432Node\\Rockstar Games\\GTAV", 5 },
{ L"InstallFolderEpic", L"SOFTWARE\\Rockstar Games\\Grand Theft Auto V", 0 },
{ L"InstallFolder", L"SOFTWARE\\WOW6432Node\\Rockstar Games\\Grand Theft Auto V", 0 }
};

Expand Down

0 comments on commit 291677e

Please sign in to comment.