mirror of
				https://github.com/arkenfox/user.js.git
				synced 2025-11-04 07:45:26 +01:00 
			
		
		
		
	Add missing -command argument in powershell call (#1909)
* updater: add missing PowerShell argument * prefcleaner: add missing PowerShell argument
This commit is contained in:
		@@ -3,7 +3,7 @@ TITLE prefs.js cleaner
 | 
			
		||||
 | 
			
		||||
REM ### prefs.js cleaner for Windows
 | 
			
		||||
REM ## author: @claustromaniac
 | 
			
		||||
REM ## version: 2.7
 | 
			
		||||
REM ## version: 2.8
 | 
			
		||||
 | 
			
		||||
CD /D "%~dp0"
 | 
			
		||||
 | 
			
		||||
@@ -15,7 +15,7 @@ ECHO:
 | 
			
		||||
ECHO                 ########################################
 | 
			
		||||
ECHO                 ####  prefs.js cleaner for Windows  ####
 | 
			
		||||
ECHO                 ####        by claustromaniac       ####
 | 
			
		||||
ECHO                 ####              v2.7              ####
 | 
			
		||||
ECHO                 ####              v2.8              ####
 | 
			
		||||
ECHO                 ########################################
 | 
			
		||||
ECHO:
 | 
			
		||||
CALL :message "This script should be run from your Firefox profile directory."
 | 
			
		||||
@@ -37,7 +37,7 @@ CALL :strlenCheck
 | 
			
		||||
CALL :FFcheck
 | 
			
		||||
 | 
			
		||||
CALL :message "Backing up prefs.js..."
 | 
			
		||||
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=%%#
 | 
			
		||||
COPY /B /V /Y prefs.js "prefs-backup-%ldt%.js"
 | 
			
		||||
 | 
			
		||||
CALL :message "Cleaning prefs.js..."
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user