Skip to content

Commit bebf4ce

Browse files
committed
remove Error Handler automatically
1 parent 514f935 commit bebf4ce

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/release-notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
## Upcoming release
55
* For players:
66
* The installer now deletes obsolete files from very old SMAPI versions again. (This was removed in SMAPI 4.0, but many players still had very old versions.)
7+
* The installer now deletes Error Handler automatically if it's at the default path.
78

89
## 4.0.4
910
Released 29 March 2024 for Stardew Valley 1.6.0 or later.

src/SMAPI.Installer/InteractiveInstaller.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ private IEnumerable<string> GetUninstallPaths(DirectoryInfo installDir, Director
5656
// obsolete files
5757
yield return GetInstallPath("libgdiplus.dylib"); // before 3.13 (macOS only)
5858
yield return GetInstallPath(Path.Combine("Mods", ".cache")); // 1.3-1.4
59+
yield return GetInstallPath(Path.Combine("Mods", "ErrorHandler")); // before 4.0 (no longer needed)
5960
yield return GetInstallPath(Path.Combine("Mods", "TrainerMod")); // before 2.0 (renamed to ConsoleCommands)
6061
yield return GetInstallPath("Mono.Cecil.Rocks.dll"); // 1.3-1.8
6162
yield return GetInstallPath("StardewModdingAPI-settings.json"); // 1.0-1.4

0 commit comments

Comments
 (0)