diff --git a/3.3-Updater-Scripts.md b/3.3-Updater-Scripts.md index 0da77db..5c7cd3e 100644 --- a/3.3-Updater-Scripts.md +++ b/3.3-Updater-Scripts.md @@ -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`.