File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ TITLE prefs.js cleaner
33
44REM ### prefs.js cleaner for Windows
55REM ## author: @claustromaniac
6- REM ## version: 2.7
6+ REM ## version: 2.8
77
88CD /D " %~dp0 "
99
1515ECHO ########################################
1616ECHO #### prefs.js cleaner for Windows ####
1717ECHO #### by claustromaniac ####
18- ECHO #### v2.7 ####
18+ ECHO #### v2.8 ####
1919ECHO ########################################
2020ECHO :
2121CALL :message " This script should be run from your Firefox profile directory."
@@ -37,7 +37,7 @@ CALL :strlenCheck
3737CALL :FFcheck
3838
3939CALL :message " Backing up prefs.js..."
40- FOR /F " delims=" %% # IN ('powershell get-date -format " {yyyyMMdd_HHmmss}" ') DO @ SET ldt = %% #
40+ FOR /F " delims=" %% # IN ('powershell -command get-date -format " {yyyyMMdd_HHmmss}" ') DO @ SET ldt = %% #
4141COPY /B /V /Y prefs.js " prefs-backup-%ldt% .js"
4242
4343CALL :message " Cleaning prefs.js..."
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ TITLE arkenfox user.js updater
33
44REM ## arkenfox user.js updater for Windows
55REM ## author: @claustromaniac
6- REM ## version: 4.19
6+ REM ## version: 4.20
77REM ## instructions: https://github.com/arkenfox/user.js/wiki/5.1-Updater-[Options]#-windows
88
99SET v = 4.19
@@ -177,7 +177,7 @@ IF EXIST user.js.new (
177177 IF DEFINED _singlebackup (
178178 MOVE /Y user.js user.js.bak > nul
179179 ) ELSE (
180- FOR /F " delims=" %% # IN ('powershell get-date -format " {yyyyMMdd_HHmmss}" ') DO @ SET ldt = %% #
180+ FOR /F " delims=" %% # IN ('powershell -command get-date -format " {yyyyMMdd_HHmmss}" ') DO @ SET ldt = %% #
181181 MOVE /Y user.js " user-backup-!ldt! .js" > nul
182182 )
183183 REN user.js.new user.js
You can’t perform that action at this time.
0 commit comments