diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-04 20:35:08 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-04 20:35:08 -0400 |
commit | c1342bd4cd6b75b24d11275bdd73ebf893f916ea (patch) | |
tree | 3c647582d242cbb6abc71ae7bbbbd14c63ce6558 /src/SMAPI.Installer | |
parent | 42bf82d870ab744f13197ad781b7529a959861e1 (diff) | |
download | SMAPI-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.cs | 4 |
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) |