1
0
This commit is contained in:
claustromaniac 2017-12-26 20:06:41 +00:00 committed by GitHub
parent 74f18db85a
commit a1f10513ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ TITLE prefs.js cleaner
REM ### prefs.js cleaner for Windows REM ### prefs.js cleaner for Windows
REM ## author: @claustromaniac REM ## author: @claustromaniac
REM ## version: 1.1 REM ## version: 1.2
SETLOCAL EnableDelayedExpansion SETLOCAL EnableDelayedExpansion
:begin :begin
@ -12,7 +12,7 @@ ECHO:
ECHO ######################################## ECHO ########################################
ECHO #### prefs.js cleaner for Windows #### ECHO #### prefs.js cleaner for Windows ####
ECHO #### author: @claustromaniac #### ECHO #### author: @claustromaniac ####
ECHO #### version: 1.1 #### ECHO #### version: 1.2 ####
ECHO ######################################## ECHO ########################################
ECHO: ECHO:
CALL :message "This script should be run from your Firefox profile directory." CALL :message "This script should be run from your Firefox profile directory."
@ -30,7 +30,7 @@ IF NOT EXIST "prefs.js" (CALL :abort "prefs.js not found in the current director
CALL :FFcheck CALL :FFcheck
CALL :message "Backing up prefs.js..." CALL :message "Backing up prefs.js..."
COPY /B /V /Y prefs.js "prefs-backup-!date:/=-!_!time::=.!.js" COPY /B /V /Y prefs.js "prefs-backup-!date:/=-!_!time::=.!.js"
CALL :message "Cleaning prefs.js... CALL :message "Cleaning prefs.js..."
CALL :cleanup CALL :cleanup
CLS CLS
CALL :message "All done^!" CALL :message "All done^!"