Major rewrite, speed, and stability improvements

This commit is contained in:
Anonymous275
2020-06-04 01:52:48 +03:00
parent 4a3235f445
commit 422e94f833
6 changed files with 153 additions and 47 deletions

View File

@@ -126,7 +126,7 @@ int main(int argc, char* argv[]){
std::string GamePath = SData.at(2);
if(MPDEV)std::cout << "You own BeamNG on this machine!" << std::endl;
std::cout << "Game Version : " << CheckVer(GamePath) << std::endl;
std::string ExeDir = "\""+GamePath.substr(0,GamePath.find_last_of('\\')) + R"(\Bin64\BeamNG.drive.x64.exe")";
std::string ExeDir = GamePath.substr(0,GamePath.find_last_of('\\')) + R"(\Bin64\BeamNG.drive.x64.exe)";
std::string Settings = Path + "\\settings\\uiapps-layouts.json";
if(stat(Settings.c_str(),&info)!=0){
link = "https://beamng-mp.com/client-data";