环境配置

  1. 准备一台手机刷入 KernelSU 或者 Magisk

# 修改 install.sh 添加 kernelsu 的支持
  # Check if the KSU environment variable is set
  if [ "$KSU" = "true" ]; then
    # Running in KernelSU
    ui_print "- Running in KernelSU env."
    UNZIP="/data/adb/ksu/bin/busybox unzip"
    # Add your KernelSU-specific actions here
  else
    # Running in Magisk
    ui_print "- Running in Magisk env."
    UNZIP="/data/adb/magisk/busybox unzip"
    # Add your Magisk-specific actions here
  fi

  # UNZIP="/data/adb/magisk/busybox unzip"

编译生成压缩包:

poetry install
poetry run python main.py

Mac: brew install poetry

最后更新于