mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-25 20:56:53 +01:00
Switch MindTheGapps Repo to Archived Repo
This commit is contained in:
parent
17b0796bf6
commit
584eb9eccc
@ -15,7 +15,7 @@ with open('gapps.appversion', 'w') as file:
|
||||
if not new_version_found:
|
||||
latestver = ""
|
||||
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 + "`"
|
||||
if currentver != latestver:
|
||||
print("New version found: " + latestver)
|
||||
|
@ -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/YT-Advanced/MindTheGappsBuilder/releases/latest")
|
||||
res = requests.get(f"https://api.github.com/repos/MustardChef/MindTheGappsForWSABuilds/releases/latest")
|
||||
json_data = json.loads(res.content)
|
||||
headers = res.headers
|
||||
x_ratelimit_remaining = headers["x-ratelimit-remaining"]
|
||||
|
Loading…
Reference in New Issue
Block a user