aboutsummaryrefslogtreecommitdiff
path: root/modpackman.py
diff options
context:
space:
mode:
Diffstat (limited to 'modpackman.py')
-rwxr-xr-xmodpackman.py5
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()