From 351a604a508d379ebeb36666d1dd6916f6305de5 Mon Sep 17 00:00:00 2001 From: Valters Date: Mon, 8 Jun 2020 17:27:00 +0300 Subject: [PATCH 1/3] Set blacklist to contain strings --- src/blacklist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blacklist.cpp b/src/blacklist.cpp index 8eeeb7b09d..abcf09d847 100644 --- a/src/blacklist.cpp +++ b/src/blacklist.cpp @@ -23,7 +23,7 @@ static std::string get_proc_name() { } static bool check_blacklisted() { - static const std::array blacklist { + static const std::array blacklist { "Battle.net.exe", "BethesdaNetLauncher.exe", "EpicGamesLauncher.exe", From 9f7764a08297395adc53907f1b06cfe5392fc587 Mon Sep 17 00:00:00 2001 From: Valters Date: Mon, 8 Jun 2020 17:28:30 +0300 Subject: [PATCH 2/3] Set blacklist to std::vector --- src/blacklist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blacklist.cpp b/src/blacklist.cpp index abcf09d847..09b4e39e4e 100644 --- a/src/blacklist.cpp +++ b/src/blacklist.cpp @@ -23,7 +23,7 @@ static std::string get_proc_name() { } static bool check_blacklisted() { - static const std::array blacklist { + static const std::vector blacklist { "Battle.net.exe", "BethesdaNetLauncher.exe", "EpicGamesLauncher.exe", From d871ac51997a281123e8f8eeaf6f0d6b2c1e9a47 Mon Sep 17 00:00:00 2001 From: jackun Date: Tue, 9 Jun 2020 18:57:57 +0300 Subject: [PATCH 3/3] Update blacklist.cpp --- src/blacklist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blacklist.cpp b/src/blacklist.cpp index 09b4e39e4e..63e374d6c6 100644 --- a/src/blacklist.cpp +++ b/src/blacklist.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include