avoid potential issue in SMAPI's uninstall paths

This commit is contained in:
Jesse Plamondon-Willard 2017-12-16 17:36:05 -05:00
parent 9cb5db2d33
commit 3fe2f586b1
1 changed files with 2 additions and 2 deletions

View File

@ -97,8 +97,8 @@ namespace StardewModdingApi.Installer
yield return GetInstallPath("StardewModdingAPI.pdb"); yield return GetInstallPath("StardewModdingAPI.pdb");
// obsolete // obsolete
yield return GetInstallPath("Mods/.cache"); // 1.3-1.4 yield return GetInstallPath(Path.Combine("Mods", ".cache")); // 1.3-1.4
yield return GetInstallPath("Mods/TrainerMod"); // *2.0 (renamed to ConsoleCommands) yield return GetInstallPath(Path.Combine("Mods", "TrainerMod")); // *2.0 (renamed to ConsoleCommands)
yield return GetInstallPath("Mono.Cecil.Rocks.dll"); // 1.31.8 yield return GetInstallPath("Mono.Cecil.Rocks.dll"); // 1.31.8
yield return GetInstallPath("StardewModdingAPI-settings.json"); // 1.0-1.4 yield return GetInstallPath("StardewModdingAPI-settings.json"); // 1.0-1.4
if (modsDir.Exists) if (modsDir.Exists)