diff --git a/py/English CHANGELOG.txt b/py/English CHANGELOG.txt index 45e4ce38..9e33d02f 100644 --- a/py/English CHANGELOG.txt +++ b/py/English CHANGELOG.txt @@ -21,6 +21,10 @@ Luca Fraga's github: https://github.com/LucaFraga --------------- 0. Changelog --------------- +v0.86c- Fixes issue when new updates were detected as smaller versions than new updates + - For some reason it's value needed to be forced as integer again for detection to + work properly on some cases. +v0.86b- Quick fix for weird false possitive in ticket check v0.86- File Verification: - Adds file verification system accesible in info and individual modes * Verification has 3 modes\levels: diff --git a/py/NSCB.bat b/py/NSCB.bat index 774b15b4..43cdda9a 100644 --- a/py/NSCB.bat +++ b/py/NSCB.bat @@ -3,7 +3,7 @@ set "prog_dir=%~dp0" set "bat_name=%~n0" set "ofile_name=%bat_name%_options.cmd" -Title NSC_Builder v0.86. -- Profile: %ofile_name% -- by JulesOnTheRoad +Title NSC_Builder v0.86.c -- Profile: %ofile_name% -- by JulesOnTheRoad set "list_folder=%prog_dir%lists" ::----------------------------------------------------- ::EDIT THIS VARIABLE TO LINK OTHER OPTION FILE diff --git a/py/ztools/info.bat b/py/ztools/info.bat index 17d1ef79..fba562bf 100644 --- a/py/ztools/info.bat +++ b/py/ztools/info.bat @@ -15,6 +15,7 @@ set "targt=%bs%" for /f "delims=" %%a in ("%bs%") do set "Extension=%%~xa" for /f "delims=" %%a in ("%bs%") do set "Name=%%~na" if "%Extension%" EQU ".nsp" ( goto sc2 ) +if "%Extension%" EQU ".nsx" ( goto sc2 ) if "%Extension%" EQU ".xci" ( goto sc2 ) echo WRONG TYPE OF FILE pause @@ -119,11 +120,6 @@ set "i_file=%info_dir%\%Name%_ID_content.txt" ECHO DONE goto sc2 - - - - - :n_info cls call :logo @@ -220,19 +216,8 @@ echo VERIFY A NSP\XCI\NCA echo ******************************************************** %pycommand% "%nut%" -b %buffer% -o "%info_dir%" -v "%targt%" -rem echo. -rem ECHO ******************************************************** -rem echo Do you want to print the information to a text file? -rem ECHO ******************************************************** -rem :r_cnmt_wrong -rem echo Input "1" to print to text file -rem echo Input "2" to NOT print to text file -rem echo. -rem set /p bs="Enter your choice: " -rem if /i "%bs%"=="1" goto r_cnmt_print goto sc2 -rem echo WRONG CHOICE -rem echo. + goto r_cnmt_wrong :r_cnmt_print if not exist "%info_dir%" MD "%info_dir%">NUL 2>&1 diff --git a/py/ztools/squirrel.py b/py/ztools/squirrel.py index 3357a8be..810a5b15 100644 --- a/py/ztools/squirrel.py +++ b/py/ztools/squirrel.py @@ -3017,13 +3017,13 @@ #print('true') #print(contentlist[j][6]) #print(prlist[i][6]) - if contentlist[j][6] > prlist[i][6]: + if int(contentlist[j][6]) > int(prlist[i][6]): del prlist[i] #print(prlist[i]) prlist.append(contentlist[j]) notinlist=False break - elif contentlist[j][6] <= prlist[i][6]: + elif int(contentlist[j][6]) <= int(prlist[i][6]): notinlist=False break else: @@ -3061,13 +3061,13 @@ #print('true') #print(contentlist[j][6]) #print(prlist[i][6]) - if contentlist[j][6] > prlist[i][6]: + if int(contentlist[j][6]) > int(prlist[i][6]): del prlist[i] #print(prlist[i]) prlist.append(contentlist[j]) notinlist=False break - elif contentlist[j][6] <= prlist[i][6]: + elif int(contentlist[j][6]) <= int(prlist[i][6]): notinlist=False break else: