mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 20:57:22 +01:00
tolower
This commit is contained in:
parent
1151d1bf2e
commit
6b8b86305d
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ public partial class FileReplacement
|
|||
|
||||
public FileReplacement(string[] gamePaths, string filePath, FileCacheManager fileDbManager)
|
||||
{
|
||||
GamePaths = gamePaths.Select(g => g.Replace('\\', '/')).ToHashSet(StringComparer.Ordinal);
|
||||
GamePaths = gamePaths.Select(g => g.Replace('\\', '/').ToLowerInvariant()).ToHashSet(StringComparer.Ordinal);
|
||||
ResolvedPath = filePath.Replace('\\', '/');
|
||||
_hashLazy = new(() => !IsFileSwap ? fileDbManager.GetFileCacheByPath(ResolvedPath)?.Hash ?? string.Empty : string.Empty);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue