diff --git a/__main__.py b/__main__.py index 4aaa90e..f1b7e30 100644 --- a/__main__.py +++ b/__main__.py @@ -6,8 +6,6 @@ import nvda_voicemeeter logging.basicConfig(level=logging.DEBUG) -nvda_voicemeeter.launch() - KIND_ID = "potato" with voicemeeterlib.api(KIND_ID) as vm: diff --git a/src/nvda_voicemeeter/cdll.py b/src/nvda_voicemeeter/cdll.py index 72efc47..cf273da 100644 --- a/src/nvda_voicemeeter/cdll.py +++ b/src/nvda_voicemeeter/cdll.py @@ -36,9 +36,10 @@ try: except FileNotFoundError as e: NVDA_PATH = "" + controller_path = Path(__file__).parents[2].resolve() / "controllerClient" if not controller_path.exists(): - controller_path = Path(__file__).parents[3].resolve() / "controllerClient" + controller_path = Path("controllerClient") DLL_PATH = controller_path / f"x{64 if bits == 64 else 86}" / f"nvdaControllerClient{bits}.dll"