aboutsummaryrefslogtreecommitdiff
path: root/installer.py
diff options
context:
space:
mode:
authorDylan Jones <dylanjones2011@gmail.com>2020-11-29 18:08:06 -0500
committerDylan Jones <dylanjones2011@gmail.com>2020-11-29 18:08:06 -0500
commitb29b1bb338e8745c24d5348de8f65f4667b9e22f (patch)
treee1252ee15b60fd76b695fe029d3c667291a56b87 /installer.py
parentf3fafd67f085265a02881ca01474e2b4555495c2 (diff)
downloadmodpackman-b29b1bb338e8745c24d5348de8f65f4667b9e22f.tar.gz
modpackman-b29b1bb338e8745c24d5348de8f65f4667b9e22f.zip
Begin installer code
Diffstat (limited to 'installer.py')
-rw-r--r--installer.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/installer.py b/installer.py
new file mode 100644
index 0000000..2df64a4
--- /dev/null
+++ b/installer.py
@@ -0,0 +1,28 @@
+import subprocess
+import os
+import requests
+from util import config
+
+
+def install_forge(java_path):
+ """
+ :param java_path: path to a working Java executable
+ Downloads and runs the Forge installer specified in pack.ini.
+ """
+ pass
+
+
+def create_profile():
+ """
+ Automatically create a launcher profile for the modpack.
+ """
+ pass
+
+
+
+def main():
+ pass
+
+
+if __name__ == '__main__':
+ main()