fix: 更新 magisk.py 文件,修改下载链接以指向新的源,确保下载的 Magisk 版本可用性和可靠性。

This commit is contained in:
2025-09-18 23:44:22 +08:00
parent 9dd8e32801
commit b91a1ac88c

View File

@@ -36,7 +36,7 @@ def run_command(cmd):
class Magisk:
def __init__(self, target_arch):
self.download_loc = os.path.join(os.path.dirname(os.path.abspath(__file__)), "downloads")
self.dl_link = "https://github.com/ayasa520/Magisk/releases/download/debug-7be6d81-30200/Magisk-7be6d81-30200-debug.apk"
self.dl_link = "https://git.coderkang.top/Android/Magisk/releases/download/debug-7be6d81-30200/Magisk-7be6d81-30200-debug.apk"
self.dl_file_name = os.path.join(self.download_loc, "magisk.apk")
self.act_md5 = "834b0f063ea713bea48b92c7d5648ce9"
self.extract_to = os.path.join(os.path.dirname(os.path.abspath(__file__)), "temp")