mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-09-10 23:44:48 +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
|
@ -25,7 +25,7 @@ import requests
|
|||
from pathlib import Path
|
||||
|
||||
magisk_ver = sys.argv[1]
|
||||
download_dir = Path.cwd().parent / "download" if sys.argv[2] == "" else Path(sys.argv[2]).resolve()
|
||||
download_dir = Path.cwd().parent / "download" if sys.argv[2] == "" else Path(sys.argv[2])
|
||||
tempScript = sys.argv[3]
|
||||
print(f"Generating Magisk download link: release type={magisk_ver}", flush=True)
|
||||
if not magisk_ver:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue