Fix linux executable name after BNG0.33.2 (#126)

This commit is contained in:
Lion 2024-09-28 16:51:02 +02:00 committed by GitHub
commit 7600372ca1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.x64");
std::string filename = (Dir + "/BinLinux/BeamNG.drive.x64");
char* argv[] = { filename.data(), NULL };
pid_t pid;
posix_spawn_file_actions_t spawn_actions;