mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-25 04:36:53 +01:00
Update generateKernelSULink.py
This commit is contained in:
parent
1ffac1d69a
commit
d7f5437f16
@ -66,7 +66,7 @@ if res.status_code == 200:
|
||||
for asset in assets:
|
||||
if re.match(f'kernel-WSA-{abi_map[arch]}-{kernelVersion}.*.zip$', asset["name"]) and asset["content_type"] == "application/zip":
|
||||
link = asset["browser_download_url"]
|
||||
if re.match(f'KernelSU_{release_name}_.*-release.*.apk$', asset["name"]) and asset["content_type"] == "application/vnd.android.package-archive":
|
||||
if re.match(f'KernelSU_{release_name}_.*-release.*.apk$', asset["name"]) or re.match(f'KernelSU_v.*-release.apk$', asset["name"]) and asset["content_type"] == "application/vnd.android.package-archive":
|
||||
apk = asset["browser_download_url"]
|
||||
break
|
||||
if link == "":
|
||||
|
Loading…
Reference in New Issue
Block a user