mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix audio on mac
This commit is contained in:
parent
fe0954beba
commit
f238bc772e
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def _packagedCmd(cmd):
|
||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
if isMac:
|
if isMac:
|
||||||
dir = os.path.dirname(os.path.abspath(__file__))
|
dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
exeDir = os.path.abspath(dir + "/../../../../Resources/audio")
|
exeDir = os.path.abspath(dir + "/../../Resources/audio")
|
||||||
else:
|
else:
|
||||||
exeDir = os.path.dirname(os.path.abspath(sys.argv[0]))
|
exeDir = os.path.dirname(os.path.abspath(sys.argv[0]))
|
||||||
if isWin and not cmd[0].endswith(".exe"):
|
if isWin and not cmd[0].endswith(".exe"):
|
||||||
|
|
Loading…
Reference in a new issue