intercept: Handle /steamapps paths for #41

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
Ikey Doherty
2017-11-24 17:47:55 +00:00
parent 383b6492b5
commit 0faa29aecd
+2 -1
View File
@@ -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;