mirror of
https://github.com/arkenfox/user.js.git
synced 2025-04-29 21:43:36 +02:00
updater: add missing PowerShell argument
This commit is contained in:
parent
f906f7f3b4
commit
79bb4e2eae
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ IF EXIST user.js.new (
|
||||||
IF DEFINED _singlebackup (
|
IF DEFINED _singlebackup (
|
||||||
MOVE /Y user.js user.js.bak >nul
|
MOVE /Y user.js user.js.bak >nul
|
||||||
) ELSE (
|
) 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
|
MOVE /Y user.js "user-backup-!ldt!.js" >nul
|
||||||
)
|
)
|
||||||
REN user.js.new user.js
|
REN user.js.new user.js
|
||||||
|
|
Loading…
Add table
Reference in a new issue