diff --git a/Stardrop/Utilities/Pathing.cs b/Stardrop/Utilities/Pathing.cs index 0bc162c..0b6daed 100644 --- a/Stardrop/Utilities/Pathing.cs +++ b/Stardrop/Utilities/Pathing.cs @@ -63,6 +63,11 @@ public static string GetSmapiPath() internal static string GetSmapiLogFolderPath() { + if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) + { + return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".config", "StardewValley", "ErrorLogs"); + } + return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "StardewValley", "ErrorLogs"); } diff --git a/Stardrop/Views/MainWindow.axaml.cs b/Stardrop/Views/MainWindow.axaml.cs index 0724806..10a1366 100644 --- a/Stardrop/Views/MainWindow.axaml.cs +++ b/Stardrop/Views/MainWindow.axaml.cs @@ -1801,6 +1801,7 @@ private async Task CheckForModUpdates(List mods, bool useCache = false, boo if (Program.settings.GameDetails is null || String.IsNullOrEmpty(Program.settings.GameDetails.SmapiVersion) || Program.settings.GameDetails.HasBadGameVersion() || Program.settings.GameDetails.HasSMAPIUpdated(SMAPI.GetVersion())) { var smapiLogPath = Path.Combine(Pathing.GetSmapiLogFolderPath(), "SMAPI-latest.txt"); + Program.helper.Log($"Checking for SMAPI-latest.txt at path: {Pathing.GetSmapiLogFolderPath()}"); if (File.Exists(smapiLogPath)) { // Parse SMAPI's log