53 lines
1.1 KiB
Python
53 lines
1.1 KiB
Python
#!/usr/bin/env python3
|
|
|
|
from termcolor import cprint
|
|
|
|
MOD_DOWNLOADER_URL = "https://github.com/North-West-Wind/CurseForge-CLI/releases/latest/download/curseforge.zip"
|
|
|
|
REPO_URL = "https://git.233hfd.com/joey/FishPogPixelmon"
|
|
|
|
|
|
# main
|
|
def __main__():
|
|
header()
|
|
warning()
|
|
|
|
|
|
# info
|
|
def warning():
|
|
cprint(
|
|
"This updater may remove your singleplayer worlds. Please use a different instance for singleplayer.", "yellow"
|
|
)
|
|
if input("Continue? [Y/n] ").lower() == "n":
|
|
exit()
|
|
else:
|
|
print("")
|
|
|
|
|
|
# ascii art lol
|
|
def header():
|
|
cprint(
|
|
"""
|
|
_______ __ __ _______
|
|
| _ ||__|.-----.| |--.| _ |.-----..-----.
|
|
|. 1___|| ||__ --|| ||. 1 || _ || _ |
|
|
|. __) |__||_____||__|__||. ____||_____||___ |
|
|
|: | |: | |_____|
|
|
|::.| |::.|
|
|
`---' `---'
|
|
|
|
_______ __ __
|
|
| _ ||__|.--.--..-----.| |.--------..-----..-----.
|
|
|. 1 || ||_ _|| -__|| || || _ || |
|
|
|. ____||__||__.__||_____||__||__|__|__||_____||__|__|
|
|
|: |
|
|
|::.|
|
|
`---'
|
|
""",
|
|
"green",
|
|
)
|
|
|
|
|
|
# run app
|
|
__main__()
|