4.0b3 - ignore the previous commit lol

This commit is contained in:
claustromaniac 2017-12-17 15:02:52 +00:00
parent c9f62822a6
commit ca947c6ae4

View File

@ -201,6 +201,9 @@ SETLOCAL DisableDelayedExpansion
( (
FOR /F "tokens=1,* delims=," %%G IN ('FINDSTR /B /I /C:"user_pref" "%~1"') DO (SET "%%G=%%H") FOR /F "tokens=1,* delims=," %%G IN ('FINDSTR /B /I /C:"user_pref" "%~1"') DO (SET "%%G=%%H")
FOR /F "tokens=1,* delims=]" %%I IN ('FIND /N /V "" ^< "%~1"') DO ( FOR /F "tokens=1,* delims=]" %%I IN ('FIND /N /V "" ^< "%~1"') DO (
IF ""=="%%J" (
ECHO:
) ELSE (
FOR /F "delims=," %%K IN ("%%J") DO ( FOR /F "delims=," %%K IN ("%%J") DO (
IF NOT [user_pref("_user.js.parrot"]==[%%K] ( IF NOT [user_pref("_user.js.parrot"]==[%%K] (
IF DEFINED %%K ( IF DEFINED %%K (
@ -220,6 +223,7 @@ SETLOCAL DisableDelayedExpansion
) )
) )
) )
)
)>updatertempfile )>updatertempfile
MOVE /Y updatertempfile "%~1" >nul MOVE /Y updatertempfile "%~1" >nul
ENDLOCAL ENDLOCAL