mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-09-09 22:14:35 +00:00
Fix fix permissions path
This commit is contained in:
parent
5ae99d1154
commit
32fce182b7
3 changed files with 100 additions and 100 deletions
|
@ -16,10 +16,10 @@ warnings.filterwarnings("ignore")
|
|||
|
||||
arch = sys.argv[1]
|
||||
|
||||
if not os.path.exists(Path.cwd().parent / "workdir" / "wsa"):
|
||||
os.makedirs(Path.cwd().parent / "workdir" / "wsa")
|
||||
if not os.path.exists(Path.cwd().parent / "_WORK_DIR_" / "wsa"):
|
||||
os.makedirs(Path.cwd().parent / "_WORK_DIR_" / "wsa")
|
||||
zip_name = ""
|
||||
workdir = Path.cwd().parent / "workdir" / "wsa"
|
||||
workdir = Path.cwd().parent / "_WORK_DIR_" / "wsa"
|
||||
with zipfile.ZipFile(Path.cwd().parent / "download/wsa.zip") as zip:
|
||||
for f in zip.filelist:
|
||||
if arch in f.filename.lower():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue