mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-09-09 14:04:34 +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
|
@ -32,8 +32,9 @@ with zipfile.ZipFile(wsa_zip_path) as zip:
|
|||
for f in zip.filelist:
|
||||
if arch in f.filename.lower():
|
||||
zip_name = f.filename
|
||||
ver_no = zip_name.split("_")
|
||||
long_ver = ver_no[1]
|
||||
ver = long_ver.split(".")
|
||||
main_ver = ver[0]
|
||||
print(main_ver)
|
||||
break
|
||||
ver_no = zip_name.split("_")
|
||||
long_ver = ver_no[1]
|
||||
ver = long_ver.split(".")
|
||||
main_ver = ver[0]
|
||||
print(main_ver)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue