mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-12 02:36:01 +00:00
fixed crash -report
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user