Replace .local/share/Steam with .steam/steam

.local/share/Steam doesn't exist on all distros, but .steam/steam does.
This commit is contained in:
Jacob Alexander Tice 2023-07-05 21:38:22 -04:00 committed by Rachael Alexanderson
parent 7235058f09
commit bcfa43b7d6

View file

@ -198,7 +198,7 @@ TArray<FString> I_GetSteamPath()
// .steam at some point. Not sure if it's just my setup so I guess we
// can fall back on it?
if(!FileExists(regPath))
regPath.Format("%s/.local/share/Steam/config/config.vdf", home);
regPath.Format("%s/.steam/steam/config/config.vdf", home);
try
{
@ -210,7 +210,7 @@ TArray<FString> I_GetSteamPath()
return result;
}
regPath.Format("%s/.local/share/Steam/steamapps/common", home);
regPath.Format("%s/.steam/steam/steamapps/common", home);
SteamInstallFolders.Push(regPath);
}
#endif