You've already forked ZygiskNext
mirror of
https://github.com/Dr-TSNG/ZygiskNext.git
synced 2025-08-27 23:46:34 +00:00
No need to modify customize.sh for Magisk
This commit is contained in:
@@ -7,4 +7,3 @@ It is possible to run Zygisksu on Magisk with a few steps:
|
||||
1. `mkdir /data/adb/ksu`
|
||||
2. `ln -s /data/adb/modules /data/adb/ksu/modules`
|
||||
3. `cp $(which resetprop) /data/adb/ksu/resetprop`
|
||||
4. Remove ` && [ "$KSU" == "true" ]` in `customize.sh`
|
||||
|
||||
@@ -103,7 +103,7 @@ androidComponents.onVariants { variant ->
|
||||
val installMagiskTask = task<Exec>("installMagisk$variantCapped") {
|
||||
group = "module"
|
||||
dependsOn(pushTask)
|
||||
commandLine("adb", "shell", "su", "-c", "magisk --install-module /data/local/tmp/$zipFileName")
|
||||
commandLine("adb", "shell", "su", "-c", "KSU=true magisk --install-module /data/local/tmp/$zipFileName")
|
||||
}
|
||||
|
||||
task<Exec>("installKsuAndReboot$variantCapped") {
|
||||
|
||||
Reference in New Issue
Block a user