testing release system
This commit is contained in:
@@ -1,3 +1,52 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
DOWNLOADER_URL = "https://github.com/North-West-Wind/CurseForge-CLI/releases/latest/download/curseforge.zip"
|
||||
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__()
|
||||
|
||||
Reference in New Issue
Block a user