From 6a1b7cf33927dc7dc6dae1b91a229936fcc731e6 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Sun, 26 Feb 2023 17:48:23 +0800 Subject: [PATCH] Implment morden Xposed API (#2398) And fix version code and name --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 2ee09b31..1d83d1e2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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)