summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.Installer
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-03-30 19:48:01 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-03-30 19:48:01 -0400
commitb4b4689f00c74b50842e3f651be6bbe297b5f02d (patch)
tree8787331ba7fda21fd1e0666f7e1fe4ddb32883c8 /src/StardewModdingAPI.Installer
parent7175e9f8ee24a88a41f453fad500a19b9bbebeba (diff)
downloadSMAPI-b4b4689f00c74b50842e3f651be6bbe297b5f02d.tar.gz
SMAPI-b4b4689f00c74b50842e3f651be6bbe297b5f02d.tar.bz2
SMAPI-b4b4689f00c74b50842e3f651be6bbe297b5f02d.zip
remove old error logs when installing a new version to avoid confusion
Diffstat (limited to 'src/StardewModdingAPI.Installer')
-rw-r--r--src/StardewModdingAPI.Installer/InteractiveInstaller.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
index 33cbc2dc..fffba30f 100644
--- a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
+++ b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
@@ -94,7 +94,7 @@ namespace StardewModdingApi.Installer
foreach (DirectoryInfo modDir in modsDir.EnumerateDirectories())
yield return Path.Combine(modDir.FullName, ".cache"); // 1.4–1.7
}
- yield return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "StardewValley", "ErrorLogs", "MODDED_ProgramLog.Log_LATEST.txt"); // *–1.8
+ yield return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "StardewValley", "ErrorLogs"); // remove old log files
}
/// <summary>Whether the current console supports color formatting.</summary>