Client mod download system update

This commit is contained in:
Anonymous-275 2021-03-30 00:01:20 +03:00
parent aa2b07b359
commit 3a0b96da52

View File

@ -175,11 +175,11 @@ void PreGame(const std::string& GamePath){
fatal(e.what());
}
/* Download("www.backend.beammp.com/builds/client?download=true"
HTTP::Download("backend.beammp.com/builds/client?download=true"
"&pk=" + PublicKey +
"&branch=" + Branch, GetGamePath() + R"(mods\multiplayer\BeamMP.zip)", true);*/
"&branch=" + Branch, GetGamePath() + R"(mods\multiplayer\BeamMP.zip)");
HTTP::Download("beammp.com/builds/client", GetGamePath() + R"(mods\multiplayer\BeamMP.zip)");
//HTTP::Download("beammp.com/builds/client", GetGamePath() + R"(mods\multiplayer\BeamMP.zip)");
info("Download Complete!");
}