Fix WTM false positive (#55)

This commit is contained in:
SilasLaspada
2021-08-16 22:58:36 -06:00
committed by GitHub
parent 5e560661d4
commit b74a370b11

View File

@@ -43,8 +43,11 @@ namespace BurnOutSharp.ProtectionType
{
var matchers = new List<PathMatchSet>
{
new PathMatchSet(new PathMatch("wtmfiles.dat", useEndsWith: true), "WTM Protection Viewer"),
new PathMatchSet(new PathMatch("Viewer.exe", useEndsWith: true), "WTM Protection Viewer"),
new PathMatchSet(new List<PathMatch>
{
new PathMatch("wtmfiles.dat", useEndsWith: true),
new PathMatch("Viewer.exe", useEndsWith: true),
}, "WTM Protection Viewer"),
};
return MatchUtil.GetAllMatches(files, matchers, any: false);