mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-21 23:47:39 +00:00
Upgrade ONDK to r25.6
This commit is contained in:
parent
d7d0a44693
commit
d3e1c496ca
6
build.py
6
build.py
@ -446,7 +446,7 @@ def find_jdk():
|
||||
stdout=subprocess.DEVNULL,
|
||||
stderr=subprocess.DEVNULL,
|
||||
env=env,
|
||||
shell=True
|
||||
shell=True,
|
||||
)
|
||||
no_jdk = proc.returncode != 0
|
||||
except FileNotFoundError:
|
||||
@ -529,12 +529,12 @@ def cleanup(args):
|
||||
|
||||
def setup_ndk(args):
|
||||
ndk_ver = config["ondkVersion"]
|
||||
url = f"https://github.com/topjohnwu/ondk/releases/download/{ndk_ver}/ondk-{ndk_ver}-{os_name}.tar.gz"
|
||||
url = f"https://github.com/topjohnwu/ondk/releases/download/{ndk_ver}/ondk-{ndk_ver}-{os_name}.tar.xz"
|
||||
ndk_archive = url.split("/")[-1]
|
||||
|
||||
header(f"* Downloading and extracting {ndk_archive}")
|
||||
with urllib.request.urlopen(url) as response:
|
||||
with tarfile.open(mode="r|gz", fileobj=response) as tar:
|
||||
with tarfile.open(mode="r|xz", fileobj=response) as tar:
|
||||
tar.extractall(ndk_root)
|
||||
|
||||
rm_rf(ndk_path)
|
||||
|
@ -28,4 +28,4 @@ android.nonTransitiveRClass=true
|
||||
# Magisk
|
||||
magisk.stubVersion=36
|
||||
magisk.versionCode=26102
|
||||
magisk.ondkVersion=r25.4
|
||||
magisk.ondkVersion=r25.6
|
||||
|
@ -1,6 +1,7 @@
|
||||
[workspace]
|
||||
exclude = ["external"]
|
||||
members = ["base", "boot", "core", "init", "sepolicy"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.dependencies]
|
||||
cxx = { path = "external/cxx-rs" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user