Fix start_player() on macOS (#1870). v2.15.107
authorCarl Hetherington <cth@carlh.net>
Thu, 5 Nov 2020 20:36:32 +0000 (21:36 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 6 Nov 2020 18:49:14 +0000 (19:49 +0100)
src/lib/cross_osx.cc

index 7817348e229566a91a06440774beb6bdab8d510a..dcee2a34518dc5648f02ea645b883036f963d4df 100644 (file)
@@ -209,9 +209,8 @@ void
 start_tool (string executable, string app)
 {
        boost::filesystem::path exe_path = directory_containing_executable();
-       exe_path = exe_path.parent_path (); // MacOS
        exe_path = exe_path.parent_path (); // Contents
-       exe_path = exe_path.parent_path (); // DCP-o-matic.app
+       exe_path = exe_path.parent_path (); // DCP-o-matic 2.app
        exe_path = exe_path.parent_path (); // Applications
        exe_path /= app;
        exe_path /= "Contents";