From 0faa29aecd1953af5397d33e60c56cf2b868fa71 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Fri, 24 Nov 2017 17:47:55 +0000 Subject: [PATCH] intercept: Handle `/steamapps` paths for #41 Signed-off-by: Ikey Doherty --- src/intercept/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intercept/main.c b/src/intercept/main.c index 42ef28e..0432c32 100644 --- a/src/intercept/main.c +++ b/src/intercept/main.c @@ -596,7 +596,8 @@ char *lsi_blacklist_vendor(unsigned int flag, const char *name) } /* Find out if its a Steam private lib.. These are relative "./" files too! */ - if (name && (strstr(name, "/Steam/") || strncmp(name, "./", 2) == 0)) { + if (name && (strstr(name, "/Steam/") || strstr(name, "/steamapps/") || + strncmp(name, "./", 2) == 0)) { for (size_t i = 0; i < ARRAY_SIZE(vendor_blacklist); i++) { if (!strstr(name, vendor_blacklist[i])) { continue;