summaryrefslogtreecommitdiff
path: root/src/SMAPI.Mods.SaveBackup
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-02-19 11:07:26 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-02-19 11:07:26 -0500
commit2d52681b1034d314d8d56c561a5aa72e54e34576 (patch)
tree8c7e87bb6130166ee31b3a659229218f0cedf56b /src/SMAPI.Mods.SaveBackup
parenta2190df08cc3f1b4a8dcb394056d65921d10702e (diff)
downloadSMAPI-2d52681b1034d314d8d56c561a5aa72e54e34576.tar.gz
SMAPI-2d52681b1034d314d8d56c561a5aa72e54e34576.tar.bz2
SMAPI-2d52681b1034d314d8d56c561a5aa72e54e34576.zip
add Constants.GamePath & deprecate Constants.ExecutionPath
Diffstat (limited to 'src/SMAPI.Mods.SaveBackup')
-rw-r--r--src/SMAPI.Mods.SaveBackup/ModEntry.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Mods.SaveBackup/ModEntry.cs b/src/SMAPI.Mods.SaveBackup/ModEntry.cs
index d6414e9c..b89bb9c3 100644
--- a/src/SMAPI.Mods.SaveBackup/ModEntry.cs
+++ b/src/SMAPI.Mods.SaveBackup/ModEntry.cs
@@ -19,7 +19,7 @@ namespace StardewModdingAPI.Mods.SaveBackup
private readonly int BackupsToKeep = 10;
/// <summary>The absolute path to the folder in which to store save backups.</summary>
- private readonly string BackupFolder = Path.Combine(Constants.ExecutionPath, "save-backups");
+ private readonly string BackupFolder = Path.Combine(Constants.GamePath, "save-backups");
/// <summary>A unique label for the save backup to create.</summary>
private readonly string BackupLabel = $"{DateTime.UtcNow:yyyy-MM-dd} - SMAPI {Constants.ApiVersion} with Stardew Valley {Game1.version}";