mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-22 18:00:50 +00:00
fetches correct path if using compiled binary
This commit is contained in:
parent
d195c1cd97
commit
19f72dd255
@ -4,6 +4,8 @@ from pathlib import Path
|
|||||||
bits = 64 if ct.sizeof(ct.c_voidp) == 8 else 32
|
bits = 64 if ct.sizeof(ct.c_voidp) == 8 else 32
|
||||||
|
|
||||||
controller_path = Path(__file__).parents[2].resolve() / "controllerClient"
|
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"
|
DLL_PATH = controller_path / f"x{64 if bits == 64 else 86}" / f"nvdaControllerClient{bits}.dll"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user