From 6fdbdd9f09f8ac0b4df1f4b8720535d7b2f43f03 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sun, 8 Dec 2024 21:59:13 -0500 Subject: [PATCH] Match versioned GFWL installers (fixes #343) --- BinaryObjectScanner/Protection/GFWL.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BinaryObjectScanner/Protection/GFWL.cs b/BinaryObjectScanner/Protection/GFWL.cs index f46716da..8decf39c 100644 --- a/BinaryObjectScanner/Protection/GFWL.cs +++ b/BinaryObjectScanner/Protection/GFWL.cs @@ -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);