Implment morden Xposed API (#2398)

And fix version code and name
This commit is contained in:
LoveSy 2023-02-26 17:48:23 +08:00 committed by GitHub
parent d7c7069114
commit 6a1b7cf339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ cmaker {
}
val repo = jgit.repo()
val commitCount = repo?.commitCount("refs/remotes/origin/master") ?: 1
val latestTag = repo?.latestTag ?: "1.0"
val commitCount = (repo?.commitCount("refs/remotes/origin/master") ?: 1) + 4200
val latestTag = repo?.latestTag?.removePrefix("v") ?: "1.0"
val injectedPackageName by extra("com.android.shell")
val injectedPackageUid by extra(2000)