From 05f84916e71f6706f45d5ce3053b7075f5192327 Mon Sep 17 00:00:00 2001
From: LegacyGamerHD <wesleyvanneck1012@gmail.com>
Date: Sun, 26 Jun 2022 11:37:00 +0200
Subject: [PATCH] Update waydroid_extras.py

---
 waydroid_extras.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/waydroid_extras.py b/waydroid_extras.py
index fea3dd0..50dd6f3 100644
--- a/waydroid_extras.py
+++ b/waydroid_extras.py
@@ -202,10 +202,10 @@ def get_android_id():
 
 def install_ndk():
     sys_image_mount = "/tmp/waydroidimage"
-    ndk_zip_url = "https://github.com/newbit1/libndk_translation_Module/archive/c6077f3398172c64f55aad7aab0e55fad9110cf3.zip"
+    ndk_zip_url = "https://github.com/newbit1/libndk_translation_Module/releases/download/v1.0/libndk_translation_Module.zip"
     dl_file_name = os.path.join(download_loc, "libndktranslation.zip")
     extract_to = "/tmp/libndkunpack" #All catalog files will be marked as executable!
-    act_md5 = "5e8e0cbde0e672fdc2b47f20a87472fd"
+    act_md5 = "5D2F9E3D94906BAEBD3CEFA7860BD7EC"
     loc_md5 = ""
     apply_props = {
         "ro.product.cpu.abilist": "x86_64,x86,armeabi-v7a,armeabi", #arm64-v8a,
@@ -266,7 +266,7 @@ on property:ro.enable.native.bridge.exec=1
     
     # Copy library file
     print("==> Copying library files ...")
-    shutil.copytree(os.path.join(extract_to, "libndk_translation_Module-c6077f3398172c64f55aad7aab0e55fad9110cf3", "system"), os.path.join(sys_image_mount, "system"), dirs_exist_ok=True)
+    shutil.copytree(os.path.join(extract_to, "libndk_translation_Module", "system"), os.path.join(sys_image_mount, "system"), dirs_exist_ok=True)
 
     # Add entries to build.prop
     print("==> Adding arch in build.prop")