mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-09-10 06:24:33 +00:00
Support integrate KernelSU (#403)
* Support integrate KernelSU * Fix zip MIME type * Better print
This commit is contained in:
parent
4a04f98a08
commit
fa79cc8480
5 changed files with 158 additions and 47 deletions
|
@ -68,7 +68,7 @@ elif brand == "MindTheGapps":
|
|||
if res.status_code == 200:
|
||||
assets = json_data["assets"]
|
||||
for asset in assets:
|
||||
if re.match(f'.*{release}.*{abi_map[arch]}.*\.zip$', asset["name"]) and asset["content_type"] == "application/x-zip-compressed":
|
||||
if re.match(f'.*{release}.*{abi_map[arch]}.*\.zip$', asset["name"]) and asset["content_type"] == "application/zip":
|
||||
link = asset["browser_download_url"]
|
||||
break
|
||||
elif res.status_code == 403 and x_ratelimit_remaining == '0':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue