fix: 更新 magisk.py 文件,修改下载链接和文件的 MD5 校验值,以确保下载的 Magisk 版本正确性和安全性。

This commit is contained in:
2025-09-18 23:28:01 +08:00
parent 514e8a19ce
commit 9dd8e32801

View File

@@ -36,9 +36,9 @@ 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/topjohnwu/Magisk/releases/download/v30.2/Magisk-v30.2.apk"
self.dl_link = "https://github.com/ayasa520/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 = "2691c30ccf059af2536cb0af803c787c"
self.act_md5 = "834b0f063ea713bea48b92c7d5648ce9"
self.extract_to = os.path.join(os.path.dirname(os.path.abspath(__file__)), "temp")
self.copy_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "magisk")
self.target_arch = target_arch