Skip to content

Commit

Permalink
fix install magisk module task
Browse files Browse the repository at this point in the history
  • Loading branch information
5ec1cff committed Jan 6, 2024
1 parent eee424f commit 420e93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,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", "-M", "-c", "magisk --install-module /data/local/tmp/$zipFileName")
}

task<Exec>("installKsuAndReboot$variantCapped") {
Expand Down

0 comments on commit 420e93f

Please sign in to comment.