mirror of
https://github.com/arkenfox/user.js.git
synced 2025-05-07 01:13:43 +02:00
Update updater.bat
This commit is contained in:
parent
44bd0710f7
commit
a478cc38ad
1 changed files with 11 additions and 9 deletions
20
updater.bat
20
updater.bat
|
@ -205,17 +205,19 @@ FOR /F tokens^=2^,^*^ delims^=^' %%G IN ('FINDSTR /R /C:"^//// --- comment-out -
|
||||||
) ELSE (
|
) ELSE (
|
||||||
ENDLOCAL
|
ENDLOCAL
|
||||||
FOR /F tokens^=2^ delims^=^'^" %%K IN ("%%J") DO (
|
FOR /F tokens^=2^ delims^=^'^" %%K IN ("%%J") DO (
|
||||||
IF DEFINED __unset__%%K (
|
IF NOT "_user.js.parrot"=="%%K" (
|
||||||
ECHO://%%J
|
IF DEFINED __unset__%%K (
|
||||||
) ELSE (
|
ECHO://%%J
|
||||||
IF DEFINED [%%K] (
|
) ELSE (
|
||||||
SETLOCAL EnableDelayedExpansion
|
IF DEFINED [%%K] (
|
||||||
FOR /F "delims=" %%L IN ("![%%K]!") DO (
|
SETLOCAL EnableDelayedExpansion
|
||||||
ENDLOCAL & ECHO:user_pref("%%K"%%L
|
FOR /F "delims=" %%L IN ("![%%K]!") DO (
|
||||||
SET "[%%K]="
|
ENDLOCAL & ECHO:user_pref("%%K"%%L
|
||||||
|
SET "[%%K]="
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
) ELSE (ECHO:%%J)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue