fix uninstall script not confirming success on Linux/Mac

This commit is contained in:
Jesse Plamondon-Willard 2018-02-17 00:38:59 -05:00
parent 4d9f836816
commit 52867bb634
2 changed files with 8 additions and 2 deletions

View File

@ -3,6 +3,7 @@
* For players:
* When a mod is skipped because you're missing a dependency, the error now shows the name and URL of the missing mod.
* Fixed mod crashes being logged under `[SMAPI]` instead of the mod name.
* Fixed uninstall script not confirming success on Linux/Mac.
* Updated compatibility list and enabled update checks for more old mods.
* For modders:

View File

@ -364,8 +364,13 @@ namespace StardewModdingApi.Installer
else
this.PrintColor("SMAPI is removed! If you configured Steam to launch SMAPI, don't forget to clear your launch options.", ConsoleColor.DarkGreen);
}
else if (action == ScriptAction.Install)
this.PrintColor("SMAPI is installed! Launch the game the same way as before to play with mods.", ConsoleColor.DarkGreen);
else
{
if (action == ScriptAction.Install)
this.PrintColor("SMAPI is installed! Launch the game the same way as before to play with mods.", ConsoleColor.DarkGreen);
else
this.PrintColor("SMAPI is removed! Launch the game the same way as before to play without mods.", ConsoleColor.DarkGreen);
}
Console.ReadKey();
}