From b723939af3e8e8e52f31921ddb9d6546578063a4 Mon Sep 17 00:00:00 2001 From: Andreas Antener Date: Sun, 1 Nov 2015 13:13:49 +0100 Subject: [PATCH] set correct path to flightgear executable on osx --- src/comm/QGCFlightGearLink.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/comm/QGCFlightGearLink.cc b/src/comm/QGCFlightGearLink.cc index 2b3d82380..7528cf7bc 100644 --- a/src/comm/QGCFlightGearLink.cc +++ b/src/comm/QGCFlightGearLink.cc @@ -663,8 +663,8 @@ bool QGCFlightGearLink::connectSimulation() // that is pretty non-standard so we don't try to get fancy beyond hardcoding that path. fgAppDir.setPath("/Applications"); fgAppName = "FlightGear.app"; - _fgProcessName = "./fgfs.sh"; - _fgProcessWorkingDirPath = "/Applications/FlightGear.app/Contents/Resources/"; + _fgProcessName = "./fgfs"; + _fgProcessWorkingDirPath = "/Applications/FlightGear.app/Contents/MacOS/"; fgRootPathProposedList += "/Applications/FlightGear.app/Contents/Resources/data/"; #elif defined Q_OS_WIN32 _fgProcessName = "fgfs.exe"; -- 2.22.0