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) ...** **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
IMPORTANT: if the path include spaces, wrap the entire argument in quotes! -p PROFILE absolute path to your Firefox profile (if different than the dir of this script)
-l Choose your Firefox profile from a list. (will auto-select the profile if only 1 exists) IMPORTANT: if the path include spaces, wrap the entire argument in quotes!
-u Update updater.sh and execute silently. Do not seek confirmation. -l Choose your Firefox profile from a list. (will auto-select the profile if only 1 exists)
-d Do not look for updates to updater.sh -u Update updater.sh and execute silently. Do not seek confirmation.
-s Silently update user.js. Do not seek confirmation. -d Do not look for updates to updater.sh
-b Only keep one backup of user.js -s Silently update user.js. Do not seek confirmation.
-o OVERRIDE Filename(s) and/or path(s) to override file(s) (if different than user-overrides.js). -b Only keep one backup of user.js
If used with -p, paths should be relative to PROFILE or absolute paths. -o OVERRIDE Filename(s) and/or path(s) to override file(s) (if different than user-overrides.js).
If given a directory, all *.js files inside will be appended recursively. If used with -p, paths should be relative to PROFILE or absolute paths.
You can pass multiple files or directories by passing a comma separated list. If given a directory, all *.js files inside will be appended recursively.
IMPORTANT: do not add spaces between files/paths! Ex: -o file1.js,file2.js,dir1 You can pass multiple files or directories by passing a comma separated list.
IMPORTANT: if any files/paths include spaces, wrap the entire argument in quotes! IMPORTANT: do not add spaces between files/paths! Ex: -o file1.js,file2.js,dir1
Ex: -o "override folder" IMPORTANT: if any files/paths include spaces, wrap the entire argument in quotes!
-n Do not append any overrides, even if user-overrides.js exists Ex: -o "override folder"
-c Create a diff file comparing old and new user.js -n Do not append any overrides, even if user-overrides.js exists
-v Open the resulting user.js file -c Create a diff file comparing old and new user.js
-r Only download user.js to a temporary file and open it -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): 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