mirror of
https://github.com/arkenfox/user.js.git
synced 2025-02-23 10:53:57 +00:00
I said 3.2.
I'm not me if I don't miss something.
This commit is contained in:
parent
e663b8a968
commit
77ca6af2d9
@ -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.1
|
REM ## version: 3.2
|
||||||
|
|
||||||
SET _myname=%~n0
|
SET _myname=%~n0
|
||||||
SET _myparams=%*
|
SET _myparams=%*
|
||||||
@ -81,7 +81,7 @@ IF DEFINED _updateb (
|
|||||||
REM * Copy itself overwriting the original batch
|
REM * Copy itself overwriting the original batch
|
||||||
REM * Start that script in a new CMD instance
|
REM * Start that script in a new CMD instance
|
||||||
REM * Exit
|
REM * Exit
|
||||||
IF EXIST !_myname:~9!.bat (
|
IF EXIST "!_myname:~9!.bat" (
|
||||||
REN "!_myname:~9!.bat" "!_myname:~9!.bat.old"
|
REN "!_myname:~9!.bat" "!_myname:~9!.bat.old"
|
||||||
DEL /F "!_myname:~9!.bat.old"
|
DEL /F "!_myname:~9!.bat.old"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user