Compare commits

...

2 Commits

Author SHA1 Message Date
Fierelier 0cee8eeee2 Replace double spaces and tabs with spaces 2022-04-05 03:22:57 +02:00
Fierelier 3595f6e4ec Fix compilation 2022-04-05 03:22:40 +02:00
2 changed files with 6 additions and 1 deletions

View File

@ -41,6 +41,8 @@ echo.
echo installing prerequisites...
python.exe -c "import ensurepip;ensurepip.bootstrap()"
if not "%errorlevel%" == "0" echo something went wrong while installing a prerequisite & goto error
python.exe -m pip install "pefile==2019.4.18"
if not "%errorlevel%" == "0" echo something went wrong while installing a prerequisite & goto error
python.exe -m pip install "PyInstaller==3.4"
if not "%errorlevel%" == "0" echo something went wrong while installing a prerequisite & goto error
python.exe -m pip install "colorama==0.3.5"

View File

@ -58,7 +58,10 @@ def getInfo(part,defn,index = 0):
except:
return False
out = out.replace("\r","")
out = out.replace("\r","").replace(" "," ")
while " " in out:
out = out.replace(" "," ")
try:
while out[0] == " " or out[0] == " ":