horsicq / Detect-It-Easy

Program for determining types of files for Windows, Linux and MacOS.
http://ntinfo.biz
MIT License
6.95k stars 695 forks source link

Python fix python version newer than 3.9 #198

Closed jindaxia closed 2 months ago

jindaxia commented 2 months ago

this patten

PE.isLibraryPresentExp(/^python(\d\d)/i);

to test "python310.dll" returns

python310.dll, 31

followed "sVersion = aPython[1] / 10; " the sVersion to 3.1

the new patten will fix it

DosX-dev commented 2 months ago

Thank you!

jindaxia commented 2 months ago

has a mistack