Skip to content

Commit

Permalink
public
Browse files Browse the repository at this point in the history
  • Loading branch information
5ec1cff committed Jun 26, 2024
1 parent f630367 commit 1045eea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
.DS_Store
/build
/captures
zygisk-loader
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ cmaker {
}

val repo = jgit.repo()
val commitCount = (repo?.commitCount("refs/remotes/origin/master") ?: 1) + 4200
val commitCount = (repo?.commitCount("HEAD") ?: 1) + 4200
val latestTag = repo?.latestTag?.removePrefix("v") ?: "1.0"

val injectedPackageName by extra("com.android.shell")
Expand Down
3 changes: 2 additions & 1 deletion magisk-loader/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ plugins {
val moduleName = "LSPosed"
val moduleBaseId = "lsposed"
val authors = "LSPosed Developers"
val nameSuffix = "-npm"

val riruModuleId = "lsposed"
val moduleMinRiruApiVersion = 26
Expand Down Expand Up @@ -137,7 +138,7 @@ fun afterEval() = android.applicationVariants.forEach { variant ->
val magiskDir = layout.buildDirectory.dir("magisk/$variantLowered")

val moduleId = "${flavorLowered}_$moduleBaseId"
val zipFileName = "$moduleName-v$verName-$verCode-${flavorLowered}-$buildTypeLowered.zip"
val zipFileName = "$moduleName$nameSuffix-v$verName-$verCode-${flavorLowered}-$buildTypeLowered.zip"

val prepareMagiskFilesTask = task<Sync>("prepareMagiskFiles$variantCapped") {
group = "LSPosed"
Expand Down

0 comments on commit 1045eea

Please sign in to comment.