mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-03 08:26:01 +00:00
Final Commit v1.80
This commit is contained in:
parent
b802aa46ef
commit
5d996e5bc4
@ -46,8 +46,9 @@ void StartGame(std::string Dir){
|
||||
PROCESS_INFORMATION pi;
|
||||
STARTUPINFO si = {0};
|
||||
si.cb = sizeof(si);
|
||||
std::string BaseDir = Dir +"\\Bin64";
|
||||
Dir += R"(\Bin64\BeamNG.drive.x64.exe)";
|
||||
std::string BaseDir = Dir; //+"\\Bin64";
|
||||
//Dir += R"(\Bin64\BeamNG.drive.x64.exe)";
|
||||
Dir += "\\BeamNG.drive.exe";
|
||||
bSuccess = CreateProcessA(Dir.c_str(), nullptr, nullptr, nullptr, TRUE, 0, nullptr, BaseDir.c_str(), &si, &pi);
|
||||
if (bSuccess){
|
||||
info("Game Launched!");
|
||||
|
@ -51,7 +51,8 @@ std::string Login(const std::string& fields){
|
||||
if(!d["public_key"].IsNull()){
|
||||
PublicKey = d["public_key"].GetString();
|
||||
}
|
||||
}
|
||||
info("Authentication successful!");
|
||||
}else info("Authentication failed!");
|
||||
if(!d["message"].IsNull()){
|
||||
d.RemoveMember("private_key");
|
||||
d.RemoveMember("public_key");
|
||||
|
@ -24,7 +24,7 @@ std::string GetEN(){
|
||||
return "BeamMP-Launcher.exe";
|
||||
}
|
||||
std::string GetVer(){
|
||||
return "1.72";
|
||||
return "1.80";
|
||||
}
|
||||
std::string GetPatch(){
|
||||
return "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user