You've already forked pyinstxtractor
mirror of
https://github.com/extremecoders-re/pyinstxtractor.git
synced 2025-08-02 16:24:45 +08:00
Correct major minor version check
This commit is contained in:
@@ -375,7 +375,7 @@ class PyInstArchive:
|
|||||||
print('[!] Warning: pyc magic of files inside PYZ archive are different from those in CArchive')
|
print('[!] Warning: pyc magic of files inside PYZ archive are different from those in CArchive')
|
||||||
|
|
||||||
# Skip PYZ extraction if not running under the same python version
|
# Skip PYZ extraction if not running under the same python version
|
||||||
if self.pymaj != sys.version_info.major or self.pymaj != self.pymaj != sys.version_info.minor:
|
if self.pymaj != sys.version_info.major or self.pymin != sys.version_info.minor:
|
||||||
print('[!] Warning: This script is running in a different Python version than the one used to build the executable.')
|
print('[!] Warning: This script is running in a different Python version than the one used to build the executable.')
|
||||||
print('[!] Please run this script in Python {0}.{1} to prevent extraction errors during unmarshalling'.format(self.pymaj, self.pymin))
|
print('[!] Please run this script in Python {0}.{1} to prevent extraction errors during unmarshalling'.format(self.pymaj, self.pymin))
|
||||||
print('[!] Skipping pyz extraction')
|
print('[!] Skipping pyz extraction')
|
||||||
|
Reference in New Issue
Block a user