disable magisk default

This commit is contained in:
Hu Ji
2024-11-14 21:00:27 +08:00
parent 199fa2e633
commit a40d15ce7e
10 changed files with 24 additions and 20 deletions

View File

@@ -12,8 +12,8 @@ def main():
apk_path = os.path.join(current_path, "magisk.apk")
unzip_path = os.path.join(current_path, "temp")
overlay_path = os.path.join(current_path, "rootfs")
overlay_magisk_path = os.path.join(overlay_path, "vendor", "etc", "init", "ksigam")
overlay_init_path = os.path.join(overlay_path, "vendor", "etc", "init", "ksigam.rc")
overlay_magisk_path = os.path.join(overlay_path, "vendor", "etc", "init", "magisk")
overlay_init_path = os.path.join(overlay_path, "vendor", "etc", "init", "magisk.rc")
shutil.rmtree(unzip_path, ignore_errors=True)
os.makedirs(unzip_path, exist_ok=True)