Update generateGappsLink.py

This commit is contained in:
MustardChef 2023-12-15 22:40:25 +00:00 committed by GitHub
parent b6728ac247
commit 09196ba6d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ tempScript = sys.argv[3]
file_name = sys.argv[4]
print(f"Generating MindTheGapps download link: arch={arch}", flush=True)
abi_map = {"x64": "x86_64", "arm64": "arm64"}
res = requests.get(f"https://api.github.com/repos/MustardChef/MindTheGappsForWSABuilds/releases/latest")
res = requests.get(f"https://api.github.com/repos/MustardChef/MindTheGappsArchived/releases/latest")
json_data = json.loads(res.content)
headers = res.headers
x_ratelimit_remaining = headers["x-ratelimit-remaining"]