diff options
author | Alexander Hayden <alexhayden25@gmail.com> | 2020-11-30 00:53:05 -0500 |
---|---|---|
committer | Alexander Hayden <alexhayden25@gmail.com> | 2020-11-30 00:53:05 -0500 |
commit | 5b25086399f6a08d087b43ed57a9f3068516d0a2 (patch) | |
tree | 11d019421bb26562da4afd9f6b8cdde9b79c0dd8 /modpackman.py | |
parent | b29b1bb338e8745c24d5348de8f65f4667b9e22f (diff) | |
download | modpackman-5b25086399f6a08d087b43ed57a9f3068516d0a2.tar.gz modpackman-5b25086399f6a08d087b43ed57a9f3068516d0a2.zip |
finish automatic forge installer
Diffstat (limited to 'modpackman.py')
-rwxr-xr-x | modpackman.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modpackman.py b/modpackman.py index 77b0c2c..1bd28d4 100755 --- a/modpackman.py +++ b/modpackman.py @@ -11,7 +11,10 @@ import util from util import config # Apply updates to the actual mod pack -def install(version_file, whitelist, mods_location): +def install(): + mods_location = os.path.join(config["pack"]["location"], "mods") + whitelist = config["pack"]["whitelist"] + version_file = "version.txt" pack_version = util.get_version_from_file(version_file) print("Updating pack with version " + str(pack_version) + "...") print() |