mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-22 18:00:50 +00:00
fixes search path for binary
This commit is contained in:
parent
b6b4c5fd97
commit
b45e85badd
@ -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:
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user