From 9f10a46838a7e0c67daa698ef4538cc521da0062 Mon Sep 17 00:00:00 2001 From: Casey Warrington Date: Thu, 28 May 2026 12:21:30 -0400 Subject: [PATCH] Defer to the game's function for getting the saves folder path. This allows the new --saves-path command line argument to work with SMAPI. --- src/SMAPI/Constants.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMAPI/Constants.cs b/src/SMAPI/Constants.cs index 0cfac5e37..4e789a833 100644 --- a/src/SMAPI/Constants.cs +++ b/src/SMAPI/Constants.cs @@ -92,7 +92,7 @@ public static class Constants public static string LogDir { get; } = Path.Combine(Constants.DataPath, "ErrorLogs"); /// The directory path where all saves are stored. - public static string SavesPath { get; } = Path.Combine(Constants.DataPath, "Saves"); + public static string SavesPath { get => StardewValley.Program.GetSavesFolder(); } /// The name of the current save folder (if save info is available, regardless of whether the save file exists yet). public static string? SaveFolderName => Constants.GetSaveFolderName();