Updated 3.3 Updater Scripts (markdown)

earthlng
2018-11-25 16:52:18 +00:00
parent 8054fcc8c9
commit 430e89346d

@@ -18,29 +18,31 @@ Available command-line parameters (case-insensitive):
**NEW command-line arguments in v2.0 !! (COMING SOON) ...**
```
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)
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)
-u Update updater.sh and execute silently. Do not seek confirmation.
-d Do not look for updates to updater.sh
-s Silently update user.js. Do not seek confirmation.
-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).
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.
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: if any files/paths include spaces, wrap the entire argument in quotes!
Ex: -o "override folder"
-n Do not append any overrides, even if user-overrides.js exists
-c Create a diff file comparing old and new user.js
-v Open the resulting user.js file
-r Only download user.js to a temporary file and open it
-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!
-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.
-d Do not look for updates to updater.sh
-s Silently update user.js. Do not seek confirmation.
-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).
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.
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: if any files/paths include spaces, wrap the entire argument in quotes!
Ex: -o "override folder"
-n Do not append any overrides, even if user-overrides.js exists
-c Create a diff file comparing old and new user.js
-v Open the resulting user.js file
-r Only download user.js to a temporary file and open it
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