fixed scripts
This commit is contained in:
@@ -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