diff --git a/src/nvda_voicemeeter/cdll.py b/src/nvda_voicemeeter/cdll.py index 0c9b37a..d5dffe5 100644 --- a/src/nvda_voicemeeter/cdll.py +++ b/src/nvda_voicemeeter/cdll.py @@ -4,6 +4,8 @@ from pathlib import Path bits = 64 if ct.sizeof(ct.c_voidp) == 8 else 32 controller_path = Path(__file__).parents[2].resolve() / "controllerClient" +if not controller_path.exists(): + controller_path = Path(__file__).parents[3].resolve() / "controllerClient" DLL_PATH = controller_path / f"x{64 if bits == 64 else 86}" / f"nvdaControllerClient{bits}.dll"