mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-09-01 02:00:04 +00:00
Use Official repository (#714)
This commit is contained in:
parent
661f71eae7
commit
15f5d26742
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ elif brand == "MindTheGapps":
|
||||||
'.zip/download', '.zip').replace('sourceforge.net/projects/wsa-mtg/files', 'downloads.sourceforge.net/project/wsa-mtg')
|
'.zip/download', '.zip').replace('sourceforge.net/projects/wsa-mtg/files', 'downloads.sourceforge.net/project/wsa-mtg')
|
||||||
else:
|
else:
|
||||||
print(f"Failed to fetch from SourceForge RSS, fallbacking to Github API...", flush=True)
|
print(f"Failed to fetch from SourceForge RSS, fallbacking to Github API...", flush=True)
|
||||||
res = requests.get(f"https://api.github.com/repos/Howard20181/MindTheGappsBuilder/releases/latest")
|
res = requests.get(f"https://api.github.com/repos/MindTheGapps/{release}.0-{abi_map[arch]}/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"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue