Updated 3.3 Updater Scripts (markdown)

earthlng 2020-08-22 12:27:57 +00:00
parent 6ea21b8d53
commit c18a4c9e4f

@ -10,12 +10,9 @@ Unless you want to use the `user.js` exactly as it is, you **must** follow our n
[Download](https://github.com/ghacksuserjs/ghacks-user.js/raw/master/updater.sh) the `updater.sh` script and save it in your profile folder. You can run it without any command line arguments and it will backup your current `user.js`, download the latest `ghacks user.js` and if it finds a `user-overrides.js` in the same folder it will append that to the `user.js`. [Download](https://github.com/ghacksuserjs/ghacks-user.js/raw/master/updater.sh) the `updater.sh` script and save it in your profile folder. You can run it without any command line arguments and it will backup your current `user.js`, download the latest `ghacks user.js` and if it finds a `user-overrides.js` in the same folder it will append that to the `user.js`.
Since v1.3 the script compares its version number to the one online. If there is a newer version of `updater.sh` online, it asks you for confirmation to download and run it. 2 command-line parameters are available to change this behavior: By default the updater script also compares its version number to the one online. If there is a newer version of `updater.sh` online, it asks you for confirmation to download and run it. Two command-line parameters are available to change this behavior (`-d` or `-u`).
Available command-line parameters (case-insensitive): Available command-line parameters in v2.0+ (case-insensitive):
- `-donotupdate` to disable the self-update **OR** `-update` to skip the confirmation prompt
**NEW command-line arguments in v2.0 !! ...**
``` ```
Optional Arguments: Optional Arguments:
@ -39,11 +36,6 @@ Optional Arguments:
-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
-e Activate ESR related preferences -e Activate ESR related preferences
Deprecated Arguments (they still work for now):
-donotupdate Use instead -d
-update Use instead -u
``` ```
### :small_orange_diamond: Windows ### :small_orange_diamond: Windows