mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-01 23:46:59 +00:00
fix linux executable name
This commit is contained in:
parent
244d27341f
commit
e348d59a7e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user