1
1
Fork 0
mirror of https://github.com/arkenfox/user.js.git synced 2024-06-07 21:56:11 +02:00

Update updater.bat

This commit is contained in:
claustromaniac 2018-04-18 20:33:39 +00:00 committed by GitHub
parent 824dec4f9e
commit 64d08dd6bc
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ IF DEFINED _updateb (
START CMD /C "!_myname:~9!.bat" !_myparams!
)
)
EXIT /B
EXIT /B
)
:begin
CLS
@ -157,7 +157,8 @@ IF EXIST user.js.new (
IF DEFINED _singlebackup (
MOVE /Y user.js user.js.bak >nul
) ELSE (
MOVE /Y user.js "user-backup-!date:/=-!_!time::=.!.js" >nul
SET "_time=!time: =0!"
MOVE /Y user.js "user-backup-!date:/=-!_!_time::=.!.js" >nul
)
REN user.js.new user.js
CALL :message "Update complete."