summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-02-08 00:53:53 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-02-08 00:53:53 -0500
commit036595cc712d20e7c0fb9a9a9444d5206a25ad7e (patch)
tree1b46dba53d7bc38c4cca945920d4265f4bed9bd1
parente440d9042e88b6bb10ceece6ed5eabed4d004331 (diff)
downloadSMAPI-036595cc712d20e7c0fb9a9a9444d5206a25ad7e.tar.gz
SMAPI-036595cc712d20e7c0fb9a9a9444d5206a25ad7e.tar.bz2
SMAPI-036595cc712d20e7c0fb9a9a9444d5206a25ad7e.zip
remove old log file to avoid confusion (#231)
-rw-r--r--src/StardewModdingAPI.Installer/InteractiveInstaller.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
index 551c648c..d6d395b6 100644
--- a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
+++ b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
@@ -85,6 +85,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
}
/// <summary>Whether the current console supports color formatting.</summary>