From 7883d60dd024e248c118d75dda22e3e07ec44343 Mon Sep 17 00:00:00 2001 From: Ivo Steinbrecher Date: Tue, 23 Jul 2024 09:21:46 +0200 Subject: [PATCH] Use better cubit root path on mac --- cubitpy/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cubitpy/conf.py b/cubitpy/conf.py index 09a96fe..4f622ac 100644 --- a/cubitpy/conf.py +++ b/cubitpy/conf.py @@ -106,7 +106,7 @@ def get_cubit_exe_path(cls, **kwargs): if platform == "linux" or platform == "linux2": return os.path.join(cubit_root, "cubit") elif platform == "darwin": - return os.path.join(cubit_root, "Cubit.app/Contents/MacOS/Cubit") + return os.path.join(cubit_root, "Contents/MacOS/Cubit") else: raise ValueError("Got unexpected platform") @@ -116,7 +116,7 @@ def get_cubit_lib_path(cls, **kwargs): if platform == "linux" or platform == "linux2": return os.path.join(cubit_root, "bin") elif platform == "darwin": - return os.path.join(cubit_root, "Cubit.app/Contents/MacOS") + return os.path.join(cubit_root, "Contents/MacOS") else: raise ValueError("Got unexpected platform")