mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-04-29 01:50:24 +00:00
Match versioned GFWL installers (fixes #343)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using BinaryObjectScanner.Interfaces;
|
||||
using SabreTools.Matching;
|
||||
using SabreTools.Matching.Paths;
|
||||
@@ -51,6 +52,7 @@ namespace BinaryObjectScanner.Protection
|
||||
new(new FilePathMatch("Gfwlivesetup.exe"), "Games for Windows LIVE"),
|
||||
new(new FilePathMatch("xliveinstall.dll"), "Games for Windows LIVE"),
|
||||
new(new FilePathMatch("XLiveRedist.msi"), "Games for Windows LIVE"),
|
||||
new(new PathMatch($"{Path.DirectorySeparatorChar}XLiveRedist"), "Games for Windows LIVE"),
|
||||
};
|
||||
|
||||
return MatchUtil.GetFirstMatch(path, matchers, any: true);
|
||||
|
||||
Reference in New Issue
Block a user