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 -2
View File
@@ -46,8 +46,8 @@ class Widevine(General):
super().download()
def copy(self):
if os.path.exists("./widevine"):
shutil.rmtree("./widevine")
if os.path.exists(self.copy_dir):
shutil.rmtree(self.copy_dir)
run(["chmod", "+x", self.extract_to, "-R"])
print_color("Copying widevine library files ...", bcolors.GREEN)
name = re.findall("([a-zA-Z0-9]+)\.zip", self.dl_link)[0]