summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-05 21:36:32 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-06 19:49:14 +0100
commitfbc94e2eec71240f3470a6a9cbe66a76fd3cbd7e (patch)
tree5e9dd34b3a1de41eea76f521851f15c02e63c80d
parent99cb06de7d7dde4c558d69bbce5fe09090bada27 (diff)
Fix start_player() on macOS (#1870).v2.15.107
-rw-r--r--src/lib/cross_osx.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/cross_osx.cc b/src/lib/cross_osx.cc
index 7817348e2..dcee2a345 100644
--- a/src/lib/cross_osx.cc
+++ b/src/lib/cross_osx.cc
@@ -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";