Compare commits
2 Commits
3cb9b47004
...
9bea47ca50
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9bea47ca50 | ||
|
|
3707ff5551 |
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user