From ce4cb0b5cd157c77396344958b403c41a4f0f8b3 Mon Sep 17 00:00:00 2001 From: duvallj Date: Sat, 2 Feb 2019 13:32:01 -0500 Subject: Update update.py (better argument parsing, documentation) --- readme.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index dc53e31..0438f1e 100644 --- a/readme.md +++ b/readme.md @@ -5,12 +5,15 @@ Script to update modpacks automatically #### To Use -Simply put the location of your `mods` folder in `pack-location.txt` and run `python update.py install` +First, install [Python 3](https://www.python.org/downloads/) and [Git](https://git-scm.com/downloads) and add them to your `$PATH`. +Then, run `pip install -r requirements.txt` to install all the Python module requirements. -Requires the `requests` module. +Simply put the location of your `mods` folder in `pack-location.txt` and run `python update.py install` #### Maintenance: -To check `downloads.txt` modlist for updates against `latest-urls.txt` modlist, run `python update.py check_updates` +To check `downloads.txt` modlist for updates against `mods.txt` modlist, run `python update.py check_updates`. + +To automatically populate `downloads.txt` with the most recent versions of mods listed in `mods.txt` run `python update.py apply_updates`. -To automatically populate `downloads.txt` with the most recent versions of mods listed in `latest-urls.txt` run `python update.py apply_updates` +Finally, to actually install your mods from the list in `downloads.txt`, run `python update.py install` -- cgit v1.2.3