mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-21 07:17:53 +01:00
Make modmerger file lookup case insensitive.
This commit is contained in:
parent
532e8a0936
commit
b1a0590382
1 changed files with 2 additions and 2 deletions
|
|
@ -196,7 +196,7 @@ public class ModMerger : IDisposable
|
||||||
{
|
{
|
||||||
if (fromFileToFile)
|
if (fromFileToFile)
|
||||||
{
|
{
|
||||||
if (!_fileToFile.TryGetValue(input.FullName, out var s))
|
if (!_fileToFile.TryGetValue(input.FullName.ToLowerInvariant(), out var s))
|
||||||
{
|
{
|
||||||
ret = input;
|
ret = input;
|
||||||
return false;
|
return false;
|
||||||
|
|
@ -238,7 +238,7 @@ public class ModMerger : IDisposable
|
||||||
Directory.CreateDirectory(finalDir);
|
Directory.CreateDirectory(finalDir);
|
||||||
file.CopyTo(path);
|
file.CopyTo(path);
|
||||||
Penumbra.Log.Verbose($"[Merger] Copied file {file.FullName} to {path}.");
|
Penumbra.Log.Verbose($"[Merger] Copied file {file.FullName} to {path}.");
|
||||||
_fileToFile.Add(file.FullName, path);
|
_fileToFile.Add(file.FullName.ToLowerInvariant(), path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue