diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-02-17 00:38:59 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-02-17 00:38:59 -0500 |
commit | 52867bb634af4706abe41557728c58b27b69f34d (patch) | |
tree | a6e97d15281eee4f1a7caf286367e2ea6eef9fb5 | |
parent | 4d9f8368169c39d05d43ca2258a4757af2e85480 (diff) | |
download | SMAPI-52867bb634af4706abe41557728c58b27b69f34d.tar.gz SMAPI-52867bb634af4706abe41557728c58b27b69f34d.tar.bz2 SMAPI-52867bb634af4706abe41557728c58b27b69f34d.zip |
fix uninstall script not confirming success on Linux/Mac
-rw-r--r-- | docs/release-notes.md | 1 | ||||
-rw-r--r-- | src/SMAPI.Installer/InteractiveInstaller.cs | 9 |
2 files changed, 8 insertions, 2 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md index 831d89b0..51f0b76c 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -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: diff --git a/src/SMAPI.Installer/InteractiveInstaller.cs b/src/SMAPI.Installer/InteractiveInstaller.cs index 43d31eea..b7e698ad 100644 --- a/src/SMAPI.Installer/InteractiveInstaller.cs +++ b/src/SMAPI.Installer/InteractiveInstaller.cs @@ -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(); } |