From b29b1bb338e8745c24d5348de8f65f4667b9e22f Mon Sep 17 00:00:00 2001 From: Dylan Jones Date: Sun, 29 Nov 2020 18:08:06 -0500 Subject: Begin installer code --- installer.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 installer.py (limited to 'installer.py') 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() -- cgit v1.2.3