updated search path

This commit is contained in:
dj2ls 2022-01-12 08:01:43 +01:00
parent a782315aa4
commit a49844011c
2 changed files with 2 additions and 1 deletions

View file

@ -45,7 +45,7 @@ if sys.platform == 'linux':
]
elif sys.platform == 'win32' or sys.platform == 'win64':
libname = ["libcodec2.dll", \
os.path.join(base_path, "lib\\codec2\\windows\\libcodec2.dll")
os.path.join(app_path, "lib\\codec2\\windows\\libcodec2.dll")
]
else:
print(f"[C2 ] Platform not supported {sys.platform}", file=sys.stderr)

View file

@ -5,6 +5,7 @@ import re
import structlog
import atexit
import subprocess
import os
# append local search path
# check if we are running in a pyinstaller environment