Skip to content

Commit

Permalink
Also fix the changed Linux paths
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Feb 24, 2025
1 parent 7b1bb1d commit 0d71f3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Core/SteamLibrary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private static string GetMacOSApplicationDataFolder()
// https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/8.0/getfolderpath-unix
return Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
#else
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
"Library", "Application Support");
#endif
}
Expand All @@ -135,9 +135,9 @@ private static string[] SteamPaths
}
: Platform.IsUnix ? new string[]
{
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal),
".local", "share", "Steam"),
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal),
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
"Steam"),
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
".steam", "steam"),
}
: Platform.IsMac ? new string[]
Expand Down

0 comments on commit 0d71f3f

Please sign in to comment.