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