Skip to content

Commit

Permalink
Merge pull request #23 from chenxiaolong/zip
Browse files Browse the repository at this point in the history
build.gradle.kts: Only include update-binary and updater-script from the magisk directory
  • Loading branch information
chenxiaolong authored May 24, 2022
2 parents 4227b88 + 211c30a commit 53d7869
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,11 @@ android.applicationVariants.all {
}

val magiskDir = File(projectDir, "magisk")
from(magiskDir) {
into("META-INF/com/google/android")

for (script in arrayOf("update-binary", "updater-script")) {
from(File(magiskDir, script)) {
into("META-INF/com/google/android")
}
}

from(File(rootDir, "LICENSE"))
Expand Down

0 comments on commit 53d7869

Please sign in to comment.