Change blacklist type (#204)

* Set blacklist to std::vector<std::string>

Fix some strange crashes.

Co-authored-by: jackun <jack.un@gmail.com>
pull/208/head
Valters 4 years ago committed by GitHub
parent 1495b1e88f
commit 40017bc1e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
#include <array>
#include <vector>
#include <string>
#include <algorithm>
@ -23,7 +23,7 @@ static std::string get_proc_name() {
}
static bool check_blacklisted() {
static const std::array<const char *, 17> blacklist {
static const std::vector<std::string> blacklist {
"Battle.net.exe",
"BethesdaNetLauncher.exe",
"EpicGamesLauncher.exe",

Loading…
Cancel
Save