mirror of
https://github.com/arkenfox/user.js.git
synced 2025-02-23 10:53:57 +00:00
Revert "3.1a1"
This reverts commit ac7ad78d1dda534b1904e0f62a0cecb7d5fb5f59.
This commit is contained in:
parent
ac7ad78d1d
commit
e5d00be8f0
@ -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.1a1
|
REM ## version: 3.1a
|
||||||
|
|
||||||
SET _myname=%~n0
|
SET _myname=%~n0
|
||||||
SET _myparams=%*
|
SET _myparams=%*
|
||||||
@ -39,9 +39,6 @@ IF DEFINED _updateb (
|
|||||||
IF NOT "!_myname:~0,9!"=="[updated]" (
|
IF NOT "!_myname:~0,9!"=="[updated]" (
|
||||||
IF EXIST "[updated]!_myname!.bat" (
|
IF EXIST "[updated]!_myname!.bat" (
|
||||||
DEL /F "[updated]!_myname!.bat"
|
DEL /F "[updated]!_myname!.bat"
|
||||||
ECHO Script updated^^!
|
|
||||||
ECHO.
|
|
||||||
ECHO.
|
|
||||||
GOTO begin
|
GOTO begin
|
||||||
)
|
)
|
||||||
ECHO Checking updater version...
|
ECHO Checking updater version...
|
||||||
@ -214,7 +211,7 @@ REM ###### Merge function ######
|
|||||||
:merge
|
:merge
|
||||||
SETLOCAL disabledelayedexpansion
|
SETLOCAL disabledelayedexpansion
|
||||||
(
|
(
|
||||||
FOR /F "tokens=1,* delims=]" %%G IN ('FIND /n /v "" ^< "%~1"') DO (
|
FOR /F "tokens=1,* delims=]" %%G IN ('find /n /v "" ^< "%~1"') DO (
|
||||||
SET "_pref=%%H"
|
SET "_pref=%%H"
|
||||||
SETLOCAL enabledelayedexpansion
|
SETLOCAL enabledelayedexpansion
|
||||||
SET "_temp=!_pref: =!"
|
SET "_temp=!_pref: =!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user