mirror of
https://github.com/arkenfox/user.js.git
synced 2025-12-21 05:52:06 +01:00
Updated 3.3 Updater Scripts (markdown)
@@ -18,29 +18,31 @@ Available command-line parameters (case-insensitive):
|
|||||||
**NEW command-line arguments in v2.0 !! (COMING SOON) ...**
|
**NEW command-line arguments in v2.0 !! (COMING SOON) ...**
|
||||||
```
|
```
|
||||||
Optional Arguments:
|
Optional Arguments:
|
||||||
-h Show this help message and exit
|
|
||||||
-p PROFILE absolute path to your Firefox profile (if different than the dir of this script)
|
-h Show this help message and exit
|
||||||
|
-p PROFILE absolute path to your Firefox profile (if different than the dir of this script)
|
||||||
IMPORTANT: if the path include spaces, wrap the entire argument in quotes!
|
IMPORTANT: if the path include spaces, wrap the entire argument in quotes!
|
||||||
-l Choose your Firefox profile from a list. (will auto-select the profile if only 1 exists)
|
-l Choose your Firefox profile from a list. (will auto-select the profile if only 1 exists)
|
||||||
-u Update updater.sh and execute silently. Do not seek confirmation.
|
-u Update updater.sh and execute silently. Do not seek confirmation.
|
||||||
-d Do not look for updates to updater.sh
|
-d Do not look for updates to updater.sh
|
||||||
-s Silently update user.js. Do not seek confirmation.
|
-s Silently update user.js. Do not seek confirmation.
|
||||||
-b Only keep one backup of user.js
|
-b Only keep one backup of user.js
|
||||||
-o OVERRIDE Filename(s) and/or path(s) to override file(s) (if different than user-overrides.js).
|
-o OVERRIDE Filename(s) and/or path(s) to override file(s) (if different than user-overrides.js).
|
||||||
If used with -p, paths should be relative to PROFILE or absolute paths.
|
If used with -p, paths should be relative to PROFILE or absolute paths.
|
||||||
If given a directory, all *.js files inside will be appended recursively.
|
If given a directory, all *.js files inside will be appended recursively.
|
||||||
You can pass multiple files or directories by passing a comma separated list.
|
You can pass multiple files or directories by passing a comma separated list.
|
||||||
IMPORTANT: do not add spaces between files/paths! Ex: -o file1.js,file2.js,dir1
|
IMPORTANT: do not add spaces between files/paths! Ex: -o file1.js,file2.js,dir1
|
||||||
IMPORTANT: if any files/paths include spaces, wrap the entire argument in quotes!
|
IMPORTANT: if any files/paths include spaces, wrap the entire argument in quotes!
|
||||||
Ex: -o "override folder"
|
Ex: -o "override folder"
|
||||||
-n Do not append any overrides, even if user-overrides.js exists
|
-n Do not append any overrides, even if user-overrides.js exists
|
||||||
-c Create a diff file comparing old and new user.js
|
-c Create a diff file comparing old and new user.js
|
||||||
-v Open the resulting user.js file
|
-v Open the resulting user.js file
|
||||||
-r Only download user.js to a temporary file and open it
|
-r Only download user.js to a temporary file and open it
|
||||||
|
|
||||||
Deprecated Arguments (they still work for now):
|
Deprecated Arguments (they still work for now):
|
||||||
-donotupdate Use instead -d
|
|
||||||
-update Use instead -u
|
-donotupdate Use instead -d
|
||||||
|
-update Use instead -u
|
||||||
```
|
```
|
||||||
|
|
||||||
### :small_orange_diamond: Windows
|
### :small_orange_diamond: Windows
|
||||||
|
|||||||
Reference in New Issue
Block a user