mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-26 13:14:16 +01:00
Fix case insensitive
This commit is contained in:
parent
03da90a5cf
commit
e693655c46
3
.github/workflows/magisk.yml
vendored
3
.github/workflows/magisk.yml
vendored
@ -48,11 +48,12 @@ jobs:
|
|||||||
zip_name = ""
|
zip_name = ""
|
||||||
with zipfile.ZipFile(out_file) as zip:
|
with zipfile.ZipFile(out_file) as zip:
|
||||||
for f in zip.filelist:
|
for f in zip.filelist:
|
||||||
if f.filename.__contains__(arch):
|
if arch in f.filename.lower():
|
||||||
zip_name = f.filename
|
zip_name = f.filename
|
||||||
if not os.path.isfile(zip_name):
|
if not os.path.isfile(zip_name):
|
||||||
print(f"unzipping to {zip_name}", flush=True)
|
print(f"unzipping to {zip_name}", flush=True)
|
||||||
zip.extract(f)
|
zip.extract(f)
|
||||||
|
break
|
||||||
|
|
||||||
with zipfile.ZipFile(zip_name) as zip:
|
with zipfile.ZipFile(zip_name) as zip:
|
||||||
if not os.path.isdir(arch):
|
if not os.path.isdir(arch):
|
||||||
|
Loading…
Reference in New Issue
Block a user