Updated 3.3 Updater Scripts (markdown)

earthlng 2018-05-03 15:12:00 +02:00
parent df900eb6ec
commit 2bba90a5b6

@ -10,6 +10,12 @@ 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. 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.
Available command-line parameters (case-insensitive):
- `-donotupdate` to disable the self-update **OR** `-update` to skip the confirmation prompt
### :small_orange_diamond: Windows
[Download](https://github.com/ghacksuserjs/ghacks-user.js/raw/master/updater.bat) the `updater.bat` 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`.