You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +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`
|
1. `mkdir /data/adb/ksu`
|
||||||
2. `ln -s /data/adb/modules /data/adb/ksu/modules`
|
2. `ln -s /data/adb/modules /data/adb/ksu/modules`
|
||||||
3. `cp $(which resetprop) /data/adb/ksu/resetprop`
|
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") {
|
val installMagiskTask = task<Exec>("installMagisk$variantCapped") {
|
||||||
group = "module"
|
group = "module"
|
||||||
dependsOn(pushTask)
|
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") {
|
task<Exec>("installKsuAndReboot$variantCapped") {
|
||||||
|
|||||||
Reference in New Issue
Block a user