diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-23 20:53:09 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-23 20:53:09 -0400 |
commit | c37280222dac3409f78413d90c8e50f6d410b3d1 (patch) | |
tree | 6212b3e15fd1a147dd013b5f08841f39e25febed /src/SMAPI.Installer | |
parent | 1ff4a0774e790acfb0f8a54d8e87f9540876072e (diff) | |
download | SMAPI-c37280222dac3409f78413d90c8e50f6d410b3d1.tar.gz SMAPI-c37280222dac3409f78413d90c8e50f6d410b3d1.tar.bz2 SMAPI-c37280222dac3409f78413d90c8e50f6d410b3d1.zip |
minor cleanup
Diffstat (limited to 'src/SMAPI.Installer')
-rw-r--r-- | src/SMAPI.Installer/Enums/ScriptAction.cs | 2 | ||||
-rw-r--r-- | src/SMAPI.Installer/InteractiveInstaller.cs | 3 | ||||
-rw-r--r-- | src/SMAPI.Installer/Program.cs | 2 |
3 files changed, 2 insertions, 5 deletions
diff --git a/src/SMAPI.Installer/Enums/ScriptAction.cs b/src/SMAPI.Installer/Enums/ScriptAction.cs index e62b2a7c..27f649a6 100644 --- a/src/SMAPI.Installer/Enums/ScriptAction.cs +++ b/src/SMAPI.Installer/Enums/ScriptAction.cs @@ -9,4 +9,4 @@ /// <summary>Remove SMAPI from the game directory.</summary> Uninstall } -}
\ No newline at end of file +} diff --git a/src/SMAPI.Installer/InteractiveInstaller.cs b/src/SMAPI.Installer/InteractiveInstaller.cs index dc96e2e8..d0ef0b8d 100644 --- a/src/SMAPI.Installer/InteractiveInstaller.cs +++ b/src/SMAPI.Installer/InteractiveInstaller.cs @@ -35,8 +35,6 @@ namespace StardewModdingApi.Installer "SMAPI.ConsoleCommands" }; - - /// <summary>Get the absolute file or folder paths to remove when uninstalling SMAPI.</summary> /// <param name="installDir">The folder for Stardew Valley and SMAPI.</param> /// <param name="modsDir">The folder for SMAPI mods.</param> @@ -84,6 +82,7 @@ namespace StardewModdingApi.Installer foreach (DirectoryInfo modDir in modsDir.EnumerateDirectories()) yield return Path.Combine(modDir.FullName, ".cache"); // 1.4–1.7 } + yield return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "StardewValley", "ErrorLogs"); // remove old log files } diff --git a/src/SMAPI.Installer/Program.cs b/src/SMAPI.Installer/Program.cs index dc6c97f4..6c479621 100644 --- a/src/SMAPI.Installer/Program.cs +++ b/src/SMAPI.Installer/Program.cs @@ -3,8 +3,6 @@ using System.Diagnostics.CodeAnalysis; using System.IO; using System.IO.Compression; using System.Reflection; -using StardewModdingAPI.Internal; -using StardewModdingAPI.Toolkit.Utilities; namespace StardewModdingApi.Installer { |