From 5b25086399f6a08d087b43ed57a9f3068516d0a2 Mon Sep 17 00:00:00 2001 From: Alexander Hayden Date: Mon, 30 Nov 2020 00:53:05 -0500 Subject: finish automatic forge installer --- modpackman.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modpackman.py') 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() -- cgit v1.2.3