mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-01-08 11:37:39 +08:00
Use Official repository (#714)
This commit is contained in:
parent
661f71eae7
commit
15f5d26742
@ -61,7 +61,7 @@ elif brand == "MindTheGapps":
|
||||
'.zip/download', '.zip').replace('sourceforge.net/projects/wsa-mtg/files', 'downloads.sourceforge.net/project/wsa-mtg')
|
||||
else:
|
||||
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)
|
||||
headers = res.headers
|
||||
x_ratelimit_remaining = headers["x-ratelimit-remaining"]
|
||||
|
Loading…
Reference in New Issue
Block a user