fix common incorrect executable detection
This commit is contained in:
parent
662a5a164b
commit
3c538a2e47
1 changed files with 2 additions and 2 deletions
|
@ -522,8 +522,8 @@ internal static class Resources
|
|||
|
||||
private static bool IsCommonIncorrectExecutable(this string rootDirectory, string path)
|
||||
{
|
||||
string subPath = path[rootDirectory.Length..].ResolvePath()?.ToUpperInvariant();
|
||||
return subPath is null || subPath.Contains("SETUP") || subPath.Contains("REDIST") || subPath.Contains("SUPPORT")
|
||||
string subPath = path[rootDirectory.Length..].ToUpperInvariant();
|
||||
return subPath.Contains("SETUP") || subPath.Contains("REDIST") || subPath.Contains("SUPPORT")
|
||||
|| subPath.Contains("CRASH") && (subPath.Contains("PAD") || subPath.Contains("REPORT")) || subPath.Contains("HELPER")
|
||||
|| subPath.Contains("CEFPROCESS") || subPath.Contains("ZFGAMEBROWSER") || subPath.Contains("MONO") || subPath.Contains("PLUGINS")
|
||||
|| subPath.Contains("MODDING") || subPath.Contains("MOD") && subPath.Contains("MANAGER") || subPath.Contains("BATTLEYE")
|
||||
|
|
Loading…
Reference in a new issue