14 - some cleanup

This commit is contained in:
claustromaniac 2017-11-27 18:35:02 +00:00
parent fc2075e37c
commit 206da0706a

View file

@ -3,7 +3,7 @@ TITLE ghacks user.js updater
REM ### ghacks-user.js updater for Windows REM ### ghacks-user.js updater for Windows
REM ## author: @claustromaniac REM ## author: @claustromaniac
REM ## version: 3.0-alpha92 REM ## version: 3.0
SET _myname=%~n0 SET _myname=%~n0
SET _myparams=%* SET _myparams=%*
@ -59,7 +59,6 @@ IF DEFINED _updateb (
EXIT /B EXIT /B
) )
) )
GOTO begin
:begin :begin
SET /A "_line=0" SET /A "_line=0"
IF NOT EXIST user.js ( IF NOT EXIST user.js (
@ -231,7 +230,5 @@ FOR /F "tokens=1,* delims=]" %%G IN ('find /n /v "" ^< "%~1"') DO (
) )
ENDLOCAL ENDLOCAL
DEL /F %~1 temp123 >nul DEL /F %~1 temp123 >nul
GOTO EOF GOTO :EOF
REM ############################ REM ############################
:EOF