From 64d08dd6bc8a53078ed56d0f1c7d898c16c4cbef Mon Sep 17 00:00:00 2001 From: claustromaniac <20734810+claustromaniac@users.noreply.github.com> Date: Wed, 18 Apr 2018 20:33:39 +0000 Subject: [PATCH] Update updater.bat --- updater.bat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/updater.bat b/updater.bat index 0df74bb..baa96cc 100644 --- a/updater.bat +++ b/updater.bat @@ -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."