mirror of
https://github.com/Xpl0itU/WiiUDownloader.git
synced 2025-05-27 21:44:26 -04:00
Revert aria2go changes
This commit is contained in:
parent
60ecc29424
commit
abdec05445
21 changed files with 92 additions and 1333 deletions
|
@ -6,13 +6,11 @@ import ssl
|
|||
|
||||
# Don't edit below this line
|
||||
|
||||
|
||||
def checkAndDeleteFile(file):
|
||||
if os.path.exists(file):
|
||||
print(f"Deleting {file}")
|
||||
os.remove(file)
|
||||
|
||||
|
||||
# Disable certificate verification
|
||||
ssl_context = ssl.create_default_context()
|
||||
ssl_context.check_hostname = False
|
||||
|
@ -24,25 +22,13 @@ urllib.request.install_opener(opener)
|
|||
|
||||
checkAndDeleteFile("gtitles/gtitles.c")
|
||||
urllib.request.urlretrieve("https://napi.nbg01.v10lator.de/db", "gtitles/gtitles.c")
|
||||
os.system(
|
||||
"gcc -c -Wall -fpic -Ofast -pipe -Igtitles -o gtitles/gtitles.o gtitles/gtitles.c"
|
||||
)
|
||||
os.system("gcc -c -Wall -fpic -Ofast -pipe -Igtitles -o gtitles/gtitles.o gtitles/gtitles.c")
|
||||
os.system("ar rcs libgtitles.a gtitles/gtitles.o")
|
||||
os.system("gcc -shared -o gtitles/libgtitles.so gtitles/gtitles.o")
|
||||
|
||||
os.system(
|
||||
"gcc -c -Wall -fpic -Ofast -pipe -UNDEBUG -DAES_ROM_TABLES -D_GNU_SOURCE -Icdecrypt -o cdecrypt/aes.o cdecrypt/aes.c"
|
||||
)
|
||||
os.system(
|
||||
"gcc -c -Wall -fpic -Ofast -pipe -UNDEBUG -DAES_ROM_TABLES -D_GNU_SOURCE -Icdecrypt -o cdecrypt/cdecrypt.o cdecrypt/cdecrypt.c"
|
||||
)
|
||||
os.system(
|
||||
"gcc -c -Wall -fpic -Ofast -pipe -UNDEBUG -DAES_ROM_TABLES -D_GNU_SOURCE -Icdecrypt -o cdecrypt/sha1.o cdecrypt/sha1.c"
|
||||
)
|
||||
os.system(
|
||||
"gcc -c -Wall -fpic -Ofast -pipe -UNDEBUG -DAES_ROM_TABLES -D_GNU_SOURCE -Icdecrypt -o cdecrypt/util.o cdecrypt/util.c"
|
||||
)
|
||||
os.system("gcc -c -Wall -fpic -Ofast -pipe -UNDEBUG -DAES_ROM_TABLES -D_GNU_SOURCE -Icdecrypt -o cdecrypt/aes.o cdecrypt/aes.c")
|
||||
os.system("gcc -c -Wall -fpic -Ofast -pipe -UNDEBUG -DAES_ROM_TABLES -D_GNU_SOURCE -Icdecrypt -o cdecrypt/cdecrypt.o cdecrypt/cdecrypt.c")
|
||||
os.system("gcc -c -Wall -fpic -Ofast -pipe -UNDEBUG -DAES_ROM_TABLES -D_GNU_SOURCE -Icdecrypt -o cdecrypt/sha1.o cdecrypt/sha1.c")
|
||||
os.system("gcc -c -Wall -fpic -Ofast -pipe -UNDEBUG -DAES_ROM_TABLES -D_GNU_SOURCE -Icdecrypt -o cdecrypt/util.o cdecrypt/util.c")
|
||||
os.system("ar rcs libcdecrypt.a cdecrypt/*.o")
|
||||
os.system("gcc -shared -o cdecrypt/libcdecrypt.so cdecrypt/*.o")
|
||||
|
||||
os.system("bash prepare_aria.sh")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue