diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-03-30 19:48:01 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-03-30 19:48:01 -0400 |
commit | b4b4689f00c74b50842e3f651be6bbe297b5f02d (patch) | |
tree | 8787331ba7fda21fd1e0666f7e1fe4ddb32883c8 | |
parent | 7175e9f8ee24a88a41f453fad500a19b9bbebeba (diff) | |
download | SMAPI-b4b4689f00c74b50842e3f651be6bbe297b5f02d.tar.gz SMAPI-b4b4689f00c74b50842e3f651be6bbe297b5f02d.tar.bz2 SMAPI-b4b4689f00c74b50842e3f651be6bbe297b5f02d.zip |
remove old error logs when installing a new version to avoid confusion
-rw-r--r-- | release-notes.md | 1 | ||||
-rw-r--r-- | src/StardewModdingAPI.Installer/InteractiveInstaller.cs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/release-notes.md b/release-notes.md index 55740ef1..bde3e4b0 100644 --- a/release-notes.md +++ b/release-notes.md @@ -24,6 +24,7 @@ For players: * The installer now detects if you need to update .NET Framework before installing SMAPI. * The installer now detects if you need to run the game at least once (to let it perform first-time setup) before installing SMAPI. * The installer on Linux now finds games installed to `~/.steam/steam/steamapps/common/Stardew Valley` too. +* The installer now removes old SMAPI logs to prevent confusion. * The console now has simpler error messages. * The console now has improved command handling & feedback. * The console no longer shows the game's debug output (unless you use a _SMAPI for developers_ build). 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> |