fix comments
This commit is contained in:
parent
fe93176c37
commit
6380bba4d3
12
installer.py
12
installer.py
@ -159,27 +159,25 @@ os.chdir(mcfolder)
|
|||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
# unclear if this timeout is necessary for UX
|
# unclear if this timeout is necessary for UX
|
||||||
|
|
||||||
#clear out preexisting mods
|
# clear out preexisting mods
|
||||||
check_for_old_mod_archive("mods.tar.gz")
|
check_for_old_mod_archive("mods.tar.gz")
|
||||||
delete_directory("mods")
|
delete_directory("mods")
|
||||||
#custom function*
|
|
||||||
print("Deleting mod folder contents... Done.")
|
print("Deleting mod folder contents... Done.")
|
||||||
#shut up again
|
#shut up
|
||||||
os.mkdir(str("mods"))
|
os.mkdir(str("mods"))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# download mod archive from https://git.adolin.xyz/saru and extract
|
# download mod archive from git repo and extract
|
||||||
print("Fetching mods...")
|
print("Fetching mods...")
|
||||||
wget.download('')
|
wget.download('')
|
||||||
# #this is the SIMPLEST implementation of curl i have ever seen i just NUTTED SO HARD
|
# this is insane. `wget` the fucking goat. who knew windows package manager was so cool?
|
||||||
# take the last one back, this is fucking insane. `wget` the fucking goat. who knew windows package manager was so cool?
|
|
||||||
|
|
||||||
extract_tar_archive('mods.tar.gz', 'mods')
|
extract_tar_archive('mods.tar.gz', 'mods')
|
||||||
# ('tarfile', 'directory to extract to')
|
# ('tarfile', 'directory to extract to')
|
||||||
|
|
||||||
ascii_art()
|
ascii_art()
|
||||||
#print boykisser to console
|
# print boykisser to console
|
||||||
|
|
||||||
print("sigma!")
|
print("sigma!")
|
||||||
print("all done!")
|
print("all done!")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user