Skip to content

Commit

Permalink
Merge pull request #562 from mattura/master
Browse files Browse the repository at this point in the history
Fix updated pyinstaller "empty DEST" issue
  • Loading branch information
gleeda authored Dec 6, 2018
2 parents 4d44a45 + 6e3b2e8 commit 2a69fab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pyinstaller/hook-distorm3.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

for path in sys.path:
if os.path.exists(os.path.join(path, "distorm3", "distorm3.dll")):
datas.append((os.path.join(path, "distorm3", "distorm3.dll"), ""))
datas.append((os.path.join(path, "distorm3", "distorm3.dll"), "."))
if os.path.exists(os.path.join(path, "distorm3", "libdistorm3.so")):
datas.append((os.path.join(path, "distorm3", "libdistorm3.so"), ""))
datas.append((os.path.join(path, "distorm3", "libdistorm3.so"), "."))

2 changes: 1 addition & 1 deletion pyinstaller/hook-openpyxl.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

for path in sys.path:
if os.path.exists(os.path.join(path, "openpyxl", ".constants.json")):
datas.append((os.path.join(path, "openpyxl", ".constants.json"), ""))
datas.append((os.path.join(path, "openpyxl", ".constants.json"), "."))
4 changes: 2 additions & 2 deletions pyinstaller/hook-yara.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

for path in sys.path:
if os.path.exists(os.path.join(path, "yara.pyd")):
datas.append((os.path.join(path, "yara.pyd"), ""))
datas.append((os.path.join(path, "yara.pyd"), "."))
if os.path.exists(os.path.join(path, "yara.so")):
datas.append((os.path.join(path, "yara.so"), ""))
datas.append((os.path.join(path, "yara.so"), "."))

0 comments on commit 2a69fab

Please sign in to comment.