From 5ccea3262f901898d3d29abf8eee8c7bba595706 Mon Sep 17 00:00:00 2001 From: earthlng Date: Mon, 6 Aug 2018 19:14:56 +0000 Subject: [PATCH] Update updater.bat --- updater.bat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/updater.bat b/updater.bat index 21c83a2..a4d3f82 100644 --- a/updater.bat +++ b/updater.bat @@ -192,6 +192,7 @@ REM ############ Merge function ############ :merge SETLOCAL DisableDelayedExpansion FOR /F tokens^=2^,^*^ delims^=^'^" %%G IN ('FINDSTR /R /C:"^user_pref[ ]*\([ ]*[\"'].*[\"'][ ]*,.*\)[ ]*;" "%~1"') DO (SET "[%%G]=%%H") + FOR /F tokens^=2^,^*^ delims^=^' %%G IN ('FINDSTR /R /C:"^//// --- comment-out --- '[^'][^']*'.*" "%~1"') DO (SET "__unset__%%G=1") ( FOR /F "tokens=1,* delims=:" %%I IN ('FINDSTR /N "^" "%~1"') DO ( @@ -205,6 +206,7 @@ FOR /F tokens^=2^,^*^ delims^=^' %%G IN ('FINDSTR /R /C:"^//// --- comment-out - ) ELSE ( ENDLOCAL FOR /F tokens^=2^ delims^=^'^" %%K IN ("%%J") DO ( + IF NOT "_user.js.parrot"=="%%K" ( IF DEFINED __unset__%%K ( ECHO://%%J