File tree 2 files changed +5
-5
lines changed
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
3
3
4
4
REM ### prefs.js cleaner for Windows
5
5
REM ## author: @claustromaniac
6
- REM ## version: 2.7
6
+ REM ## version: 2.8
7
7
8
8
CD /D " %~dp0 "
9
9
15
15
ECHO ########################################
16
16
ECHO #### prefs.js cleaner for Windows ####
17
17
ECHO #### by claustromaniac ####
18
- ECHO #### v2.7 ####
18
+ ECHO #### v2.8 ####
19
19
ECHO ########################################
20
20
ECHO :
21
21
CALL :message " This script should be run from your Firefox profile directory."
@@ -37,7 +37,7 @@ CALL :strlenCheck
37
37
CALL :FFcheck
38
38
39
39
CALL :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 = %% #
41
41
COPY /B /V /Y prefs.js " prefs-backup-%ldt% .js"
42
42
43
43
CALL :message " Cleaning prefs.js..."
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ TITLE arkenfox user.js updater
3
3
4
4
REM ## arkenfox user.js updater for Windows
5
5
REM ## author: @claustromaniac
6
- REM ## version: 4.19
6
+ REM ## version: 4.20
7
7
REM ## instructions: https://github.com/arkenfox/user.js/wiki/5.1-Updater-[Options]#-windows
8
8
9
9
SET v = 4.19
@@ -177,7 +177,7 @@ IF EXIST user.js.new (
177
177
IF DEFINED _singlebackup (
178
178
MOVE /Y user.js user.js.bak > nul
179
179
) 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 = %% #
181
181
MOVE /Y user.js " user-backup-!ldt! .js" > nul
182
182
)
183
183
REN user.js.new user.js
You can’t perform that action at this time.
0 commit comments