mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-06-18 06:31:13 +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 FindHack(const std::string& Path){
|
||||||
bool s = true;
|
bool s = true;
|
||||||
for (const auto &entry : fs::directory_iterator(Path)) {
|
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));
|
for(char&c : Name)c = char(tolower(c));
|
||||||
if(Name == "steam.exe")s = false;
|
if(Name == "steam.exe")s = false;
|
||||||
if(Name.find("greenluma") != -1)return true;
|
if(Name.find("greenluma") != -1)return true;
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ std::string GetVer(){
|
|||||||
return "1.80";
|
return "1.80";
|
||||||
}
|
}
|
||||||
std::string GetPatch(){
|
std::string GetPatch(){
|
||||||
return ".8";
|
return ".9";
|
||||||
}
|
}
|
||||||
void ReLaunch(int argc,char*args[]){
|
void ReLaunch(int argc,char*args[]){
|
||||||
std::string Arg;
|
std::string Arg;
|
||||||
|
|||||||
Reference in New Issue
Block a user