mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-03 22:36:14 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae9af1470c | ||
|
|
9255c70b0b | ||
|
|
53c514ecc6 | ||
|
|
e348d59a7e | ||
|
|
244d27341f |
@@ -55,7 +55,7 @@ void ConfigInit() {
|
||||
R"({
|
||||
"Port": 4444,
|
||||
"Build": "Default",
|
||||
"CachingDirectory": "./Resources",
|
||||
"CachingDirectory": "./Resources"
|
||||
})";
|
||||
cfg.close();
|
||||
} else {
|
||||
|
||||
@@ -97,7 +97,7 @@ void StartGame(std::string Dir) {
|
||||
#elif defined(__linux__)
|
||||
void StartGame(std::string Dir) {
|
||||
int status;
|
||||
std::string filename = (Dir + "/BinLinux/BeamNG.drive.x64");
|
||||
std::string filename = (Dir + "/BinLinux/BeamNG.x64");
|
||||
char* argv[] = { filename.data(), NULL };
|
||||
pid_t pid;
|
||||
int result = posix_spawn(&pid, filename.c_str(), NULL, NULL, argv, environ);
|
||||
|
||||
@@ -84,7 +84,7 @@ std::string GetVer() {
|
||||
return "2.1";
|
||||
}
|
||||
std::string GetPatch() {
|
||||
return ".2";
|
||||
return ".3";
|
||||
}
|
||||
|
||||
std::string GetEP(char* P) {
|
||||
|
||||
Reference in New Issue
Block a user