From 0d71f3f93b34fd447d0bde8abe86bb9b396e1af7 Mon Sep 17 00:00:00 2001 From: Paul Hebble Date: Mon, 24 Feb 2025 06:57:18 -0600 Subject: [PATCH] Also fix the changed Linux paths --- Core/SteamLibrary.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Core/SteamLibrary.cs b/Core/SteamLibrary.cs index afcfaa5ea..b44e0a255 100644 --- a/Core/SteamLibrary.cs +++ b/Core/SteamLibrary.cs @@ -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 } @@ -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[]