mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-09-09 14:04:34 +00:00
All Python scripts use relative path
This commit is contained in:
parent
975bdcf4d8
commit
86759ad241
6 changed files with 22 additions and 25 deletions
|
@ -29,7 +29,7 @@ from pathlib import Path
|
|||
|
||||
arch = sys.argv[1]
|
||||
download_dir = Path.cwd().parent / \
|
||||
"download" if sys.argv[2] == "" else Path(sys.argv[2]).resolve()
|
||||
"download" if sys.argv[2] == "" else Path(sys.argv[2])
|
||||
tempScript = sys.argv[3]
|
||||
kernelVersion = sys.argv[4]
|
||||
file_name = sys.argv[5]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue