fixed crash -report

This commit is contained in:
Anonymous275
2020-12-28 16:34:24 +02:00
parent 6b4211d9cf
commit fda7567044
2 changed files with 2 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ bool Find(const std::string& FName,const std::string& Path){
bool FindHack(const std::string& Path){
bool s = true;
for (const auto &entry : fs::directory_iterator(Path)) {
std::string Name = entry.path().filename().string();
std::string Name = entry.path().filename().u8string();
for(char&c : Name)c = char(tolower(c));
if(Name == "steam.exe")s = false;
if(Name.find("greenluma") != -1)return true;