From e348d59a7e486f4938236001f4d009e8fc11c148 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Mon, 23 Sep 2024 23:12:31 +0200 Subject: [PATCH] fix linux executable name --- src/GameStart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GameStart.cpp b/src/GameStart.cpp index 1dc7ab7..26ca50d 100644 --- a/src/GameStart.cpp +++ b/src/GameStart.cpp @@ -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);