mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
don't munge library paths when not frozen
This commit is contained in:
parent
0e557e0389
commit
e1894c16c9
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ def run():
|
|||
sys.path.append(modDir)
|
||||
# jpeg module
|
||||
rd = runningDir
|
||||
if sys.platform.startswith("darwin"):
|
||||
if sys.platform.startswith("darwin") and getattr(sys, 'frozen', None):
|
||||
rd = os.path.abspath(runningDir + "/../../..")
|
||||
QCoreApplication.setLibraryPaths(QStringList([rd]))
|
||||
|
||||
|
|
Loading…
Reference in a new issue