remove old error logs when installing a new version to avoid confusion
This commit is contained in:
parent
7175e9f8ee
commit
b4b4689f00
|
@ -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 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 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 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 simpler error messages.
|
||||||
* The console now has improved command handling & feedback.
|
* 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).
|
* The console no longer shows the game's debug output (unless you use a _SMAPI for developers_ build).
|
||||||
|
|
|
@ -94,7 +94,7 @@ namespace StardewModdingApi.Installer
|
||||||
foreach (DirectoryInfo modDir in modsDir.EnumerateDirectories())
|
foreach (DirectoryInfo modDir in modsDir.EnumerateDirectories())
|
||||||
yield return Path.Combine(modDir.FullName, ".cache"); // 1.4–1.7
|
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>
|
/// <summary>Whether the current console supports color formatting.</summary>
|
||||||
|
|
Loading…
Reference in New Issue