fixed scripts
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user