mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix packaged audio tools path on Windows (#2419)
There is no audio subfolder as of 2.1.55+
This commit is contained in:
parent
bb297b95bc
commit
e23036ea8b
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue