Skip to content

Commit

Permalink
Hotfix for 3rd party binaries not included in .exe
Browse files Browse the repository at this point in the history
  • Loading branch information
tuokri committed Feb 10, 2021
1 parent 79de3ad commit 8eff686
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ def do_log_stuff(subscriber):
subscriber.dispatch_forever()


if getattr(sys, "frozen", False):
# noinspection PyUnresolvedReferences,PyProtectedMember
BASE_PATH = Path(sys._MEIPASS)
else:
BASE_PATH = Path("")
# if getattr(sys, "frozen", False):
# # noinspection PyUnresolvedReferences,PyProtectedMember
# BASE_PATH = Path(sys._MEIPASS)
# else:
# BASE_PATH = Path("")
BASE_PATH = Path("")

REVORB = BASE_PATH / Path("bin/RevorbStd.exe")
WAVESCAN = BASE_PATH / Path("bin/wavescan.bms")
Expand Down

0 comments on commit 8eff686

Please sign in to comment.