Fix packaged audio tools path on Windows (#2419)

There is no audio subfolder as of 2.1.55+
This commit is contained in:
Abdo 2023-03-06 12:27:08 +03:00 committed by GitHub
parent f6fa73f4b3
commit 13d6c00a8d

View file

@ -246,7 +246,7 @@ def _packagedCmd(cmd: list[str]) -> tuple[Any, dict[str, str]]:
del env["LD_LIBRARY_PATH"]
if is_win:
packaged_path = Path(sys.prefix) / "audio" / (cmd[0] + ".exe")
packaged_path = Path(sys.prefix) / (cmd[0] + ".exe")
elif is_mac:
packaged_path = Path(sys.prefix) / ".." / "Resources" / cmd[0]
else: