Skip to content

Commit

Permalink
remove Error Handler automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
Pathoschild committed Apr 4, 2024
1 parent 514f935 commit bebf4ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
## Upcoming release
* For players:
* 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.)
* The installer now deletes Error Handler automatically if it's at the default path.

## 4.0.4
Released 29 March 2024 for Stardew Valley 1.6.0 or later.
Expand Down
1 change: 1 addition & 0 deletions src/SMAPI.Installer/InteractiveInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ private IEnumerable<string> GetUninstallPaths(DirectoryInfo installDir, Director
// obsolete files
yield return GetInstallPath("libgdiplus.dylib"); // before 3.13 (macOS only)
yield return GetInstallPath(Path.Combine("Mods", ".cache")); // 1.3-1.4
yield return GetInstallPath(Path.Combine("Mods", "ErrorHandler")); // before 4.0 (no longer needed)
yield return GetInstallPath(Path.Combine("Mods", "TrainerMod")); // before 2.0 (renamed to ConsoleCommands)
yield return GetInstallPath("Mono.Cecil.Rocks.dll"); // 1.3-1.8
yield return GetInstallPath("StardewModdingAPI-settings.json"); // 1.0-1.4
Expand Down

0 comments on commit bebf4ce

Please sign in to comment.