mirror of
https://github.com/HolographicHat/Yae.git
synced 2025-12-15 19:08:12 +08:00
Fix GamePathRegex match to case insensitive
This commit is contained in:
@@ -60,7 +60,7 @@ public static partial class AppConfig {
|
|||||||
return Path.GetFullPath(Path.Combine(matchResult.Value, "..", entryName));
|
return Path.GetFullPath(Path.Combine(matchResult.Value, "..", entryName));
|
||||||
}
|
}
|
||||||
|
|
||||||
[GeneratedRegex(@"(?m).:/.+(GenshinImpact_Data|YuanShen_Data)")]
|
[GeneratedRegex(@"(?m).:/.+(GenshinImpact_Data|YuanShen_Data)", RegexOptions.IgnoreCase)]
|
||||||
private static partial Regex GamePathRegex();
|
private static partial Regex GamePathRegex();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user