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 bb297b95bc
commit e23036ea8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: