mirror of
https://github.com/arkenfox/user.js.git
synced 2025-04-14 04:53:20 -04:00
updater: add missing PowerShell argument
This commit is contained in:
parent
f906f7f3b4
commit
79bb4e2eae
@ -177,7 +177,7 @@ IF EXIST user.js.new (
|
||||
IF DEFINED _singlebackup (
|
||||
MOVE /Y user.js user.js.bak >nul
|
||||
) ELSE (
|
||||
FOR /F "delims=" %%# IN ('powershell get-date -format "{yyyyMMdd_HHmmss}"') DO @SET ldt=%%#
|
||||
FOR /F "delims=" %%# IN ('powershell -command get-date -format "{yyyyMMdd_HHmmss}"') DO @SET ldt=%%#
|
||||
MOVE /Y user.js "user-backup-!ldt!.js" >nul
|
||||
)
|
||||
REN user.js.new user.js
|
||||
|
Loading…
x
Reference in New Issue
Block a user