From 584eb9eccc5a4472e2f45881a31e131dfbba6998 Mon Sep 17 00:00:00 2001 From: MCDeltaT <68516357+MustardChef@users.noreply.github.com> Date: Fri, 15 Dec 2023 22:28:52 +0000 Subject: [PATCH] Switch MindTheGapps Repo to Archived Repo --- MagiskOnWSA/Update Check/MTGUpdateCheck.py | 2 +- MagiskOnWSA/scripts/generateGappsLink.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MagiskOnWSA/Update Check/MTGUpdateCheck.py b/MagiskOnWSA/Update Check/MTGUpdateCheck.py index ca862b1..6af43d7 100644 --- a/MagiskOnWSA/Update Check/MTGUpdateCheck.py +++ b/MagiskOnWSA/Update Check/MTGUpdateCheck.py @@ -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) diff --git a/MagiskOnWSA/scripts/generateGappsLink.py b/MagiskOnWSA/scripts/generateGappsLink.py index 4e62e98..d107dd0 100644 --- a/MagiskOnWSA/scripts/generateGappsLink.py +++ b/MagiskOnWSA/scripts/generateGappsLink.py @@ -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"]