summaryrefslogtreecommitdiff
path: root/src/SMAPI.Installer
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-04 20:35:08 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-04 20:35:08 -0400
commitc1342bd4cd6b75b24d11275bdd73ebf893f916ea (patch)
tree3c647582d242cbb6abc71ae7bbbbd14c63ce6558 /src/SMAPI.Installer
parent42bf82d870ab744f13197ad781b7529a959861e1 (diff)
downloadSMAPI-c1342bd4cd6b75b24d11275bdd73ebf893f916ea.tar.gz
SMAPI-c1342bd4cd6b75b24d11275bdd73ebf893f916ea.tar.bz2
SMAPI-c1342bd4cd6b75b24d11275bdd73ebf893f916ea.zip
disable case-insensitive paths by default pending performance rework
Diffstat (limited to 'src/SMAPI.Installer')
-rw-r--r--src/SMAPI.Installer/InteractiveInstaller.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI.Installer/InteractiveInstaller.cs b/src/SMAPI.Installer/InteractiveInstaller.cs
index 5138173a..19cefd32 100644
--- a/src/SMAPI.Installer/InteractiveInstaller.cs
+++ b/src/SMAPI.Installer/InteractiveInstaller.cs
@@ -435,8 +435,8 @@ namespace StardewModdingApi.Installer
{
this.PrintDebug("Adding bundled mods...");
- ModFolder[] targetMods = toolkit.GetModFolders(paths.ModsPath).ToArray();
- foreach (ModFolder sourceMod in toolkit.GetModFolders(bundledModsDir.FullName))
+ ModFolder[] targetMods = toolkit.GetModFolders(paths.ModsPath, useCaseInsensitiveFilePaths: true).ToArray();
+ foreach (ModFolder sourceMod in toolkit.GetModFolders(bundledModsDir.FullName, useCaseInsensitiveFilePaths: true))
{
// validate source mod
if (sourceMod.Manifest == null)