fix broken ndk link

This commit is contained in:
Rikka committed 2023-03-21 18:06:01 +08:00
1 parent e80314e694
commit 9be27949c2
5 files changed
+28 -20

No files matched your search

+2
View File
@@ -60,6 +60,8 @@ on property:init.svc.zygote=stopped
download_file(self.dl_link, self.dl_file_name)
def copy(self):
if os.path.exists(self.copy_dir):
shutil.rmtree(self.copy_dir)
if not os.path.exists(self.magisk_dir):
os.makedirs(self.magisk_dir, exist_ok=True)