mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-05-06 14:56:36 +08:00
Update extractWSA.py
This commit is contained in:
parent
d3a055c591
commit
b5c995ad2c
@ -68,7 +68,7 @@ with zipfile.ZipFile(wsa_zip_path) as zip:
|
||||
elif g.filename == 'AppxManifest.xml':
|
||||
g.filename = f'{name}.xml'
|
||||
l.extract(g, workdir / 'xml')
|
||||
elif re.search(u'Images/.+\.png', g.filename) != None:
|
||||
elif re.search(u'Images/.+\.png', g.filename):
|
||||
l.extract(g, archdir)
|
||||
with zipfile.ZipFile(zip_path) as zip:
|
||||
print(f"unzipping from {zip_path}", flush=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user