From bcfa43b7d6a5ace58649b6ccf42c0d72605e9346 Mon Sep 17 00:00:00 2001 From: Jacob Alexander Tice Date: Wed, 5 Jul 2023 21:38:22 -0400 Subject: [PATCH] Replace .local/share/Steam with .steam/steam .local/share/Steam doesn't exist on all distros, but .steam/steam does. --- src/posix/i_steam.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/posix/i_steam.cpp b/src/posix/i_steam.cpp index 5945dff3a..82c2c9d98 100644 --- a/src/posix/i_steam.cpp +++ b/src/posix/i_steam.cpp @@ -198,7 +198,7 @@ TArray 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 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