From 93409a83f8503c371d069375319a8508e608fb83 Mon Sep 17 00:00:00 2001 From: Joey Eamigh <55670930+JoeyEamigh@users.noreply.github.com> Date: Thu, 22 Jun 2023 00:40:28 -0400 Subject: [PATCH] fixed scripts --- client/client.py | 2 +- server/server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client.py b/client/client.py index 1f375d9..b27ef14 100644 --- a/client/client.py +++ b/client/client.py @@ -25,7 +25,7 @@ if OS == "linux": INSTANCE_DIR = f"{MULTIMC_DIR}/instances/FishPogPixelmon" if OS == "win32": - MULTIMC_PARENT_DIR = f"C:\\Users\\{os.getlogin()}\\AppData\\Roaming\\FishPog" + MULTIMC_PARENT_DIR = os.getcwd() MULTIMC_DIR = f"{MULTIMC_PARENT_DIR}\\MultiMC" INSTANCE_DIR = f"{MULTIMC_DIR}\\instances\\FishPogPixelmon" diff --git a/server/server.py b/server/server.py index b9cf67e..fd7631f 100644 --- a/server/server.py +++ b/server/server.py @@ -59,7 +59,7 @@ def forge(): 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)