Skip to content

Commit 6fdbdd9

Browse files
committed
Match versioned GFWL installers (fixes #343)
1 parent e638b7b commit 6fdbdd9

File tree

1 file changed

+2
-0
lines changed
  • BinaryObjectScanner/Protection

1 file changed

+2
-0
lines changed

BinaryObjectScanner/Protection/GFWL.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.Collections.Generic;
3+
using System.IO;
34
using BinaryObjectScanner.Interfaces;
45
using SabreTools.Matching;
56
using SabreTools.Matching.Paths;
@@ -51,6 +52,7 @@ public List<string> CheckDirectoryPath(string path, List<string>? files)
5152
new(new FilePathMatch("Gfwlivesetup.exe"), "Games for Windows LIVE"),
5253
new(new FilePathMatch("xliveinstall.dll"), "Games for Windows LIVE"),
5354
new(new FilePathMatch("XLiveRedist.msi"), "Games for Windows LIVE"),
55+
new(new PathMatch($"{Path.DirectorySeparatorChar}XLiveRedist"), "Games for Windows LIVE"),
5456
};
5557

5658
return MatchUtil.GetFirstMatch(path, matchers, any: true);

0 commit comments

Comments
 (0)