mirror of
https://github.com/arkenfox/user.js.git
synced 2024-10-01 01:35:52 -04:00
4.0b3 - ignore the previous commit lol
This commit is contained in:
parent
c9f62822a6
commit
ca947c6ae4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user