Switch MindTheGapps Repo to Archived Repo

This commit is contained in:
MCDeltaT 2023-12-15 22:28:52 +00:00
parent 17b0796bf6
commit 584eb9eccc
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ with open('gapps.appversion', 'w') as file:
if not new_version_found: if not new_version_found:
latestver = "" latestver = ""
mtgmsg = "" mtgmsg = ""
latestver = json.loads(requests.get(f"https://api.github.com/repos/YT-Advanced/MindTheGappsBuilder/releases/latest").content)['name'].replace('\n', '') latestver = json.loads(requests.get(f"https://api.github.com/repos/MustardChef/MindTheGappsForWSABuilds/releases/latest").content)['name'].replace('\n', '')
mtgmsg="Update MindTheGapps Version from `v" + currentver + "` to `v" + latestver + "`" mtgmsg="Update MindTheGapps Version from `v" + currentver + "` to `v" + latestver + "`"
if currentver != latestver: if currentver != latestver:
print("New version found: " + latestver) print("New version found: " + latestver)

View File

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