mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-05-06 06:46:35 +08:00
Change user (#480)
This commit is contained in:
parent
5d6baa3826
commit
1ebd85b105
@ -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/s1204IT/MindTheGappsBuilder/releases/latest")
|
res = requests.get(f"https://api.github.com/repos/Howard20181/MindTheGappsBuilder/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…
x
Reference in New Issue
Block a user