forked from mirrors/pyinstxtractor
Ignore pyinstaller runtime options, Fixes #44
This commit is contained in:
parent
816d50f1e6
commit
d68ef84279
1 changed files with 6 additions and 0 deletions
|
|
@ -302,6 +302,12 @@ class PyInstArchive:
|
|||
# packages and modules are pyc files with their header's intact
|
||||
self._writeRawData(entry.name + '.pyc', data)
|
||||
|
||||
elif entry.typeCmprsData == b'd' or entry.typeCmprsData == b'o':
|
||||
# d -> ARCHIVE_ITEM_DEPENDENCY
|
||||
# o -> ARCHIVE_ITEM_RUNTIME_OPTION
|
||||
# These are runtime options, not files
|
||||
pass
|
||||
|
||||
else:
|
||||
self._writeRawData(entry.name, data)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue