Skip to content

Commit

Permalink
Fix ksu name
Browse files Browse the repository at this point in the history
  • Loading branch information
s1204IT authored Apr 30, 2024
1 parent 7050989 commit f98bd36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generateKernelSULink.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __repr__(self):
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"]) and asset["content_type"] == "application/vnd.android.package-archive":
apk = asset["browser_download_url"]
break
if link == "":
Expand Down

0 comments on commit f98bd36

Please sign in to comment.