downloader.jar not zip

This commit is contained in:
Joey Eamigh
2023-06-21 22:28:58 -04:00
parent 8373c48de8
commit 3707ff5551

View File

@@ -56,7 +56,7 @@ def run_mmc():
def mods():
os.chdir(INSTANCE_DIR)
if not os.path.exists(os.path.join(INSTANCE_DIR, "downloader.zip")):
if not os.path.exists(os.path.join(INSTANCE_DIR, "downloader.jar")):
cprint("downloader.jar not found - downloading", "yellow")
r = requests.get(MOD_DOWNLOADER_URL, allow_redirects=True)
open("downloader.jar", "wb").write(r.content)