Changing the custom background expand more options logic

Co-authored-by:ShirkNeko <ShirkNeko@alone2832165@gmail.com>
This commit is contained in:
ShirkNeko
2025-03-22 16:37:30 +08:00
parent 192f36fb3c
commit ff99ab8e62
5 changed files with 99 additions and 66 deletions

View File

@@ -33,7 +33,7 @@ val androidCompileSdkVersion = 35
val androidCompileNdkVersion = "28.0.13004108"
val androidSourceCompatibility = JavaVersion.VERSION_21
val androidTargetCompatibility = JavaVersion.VERSION_21
val managerVersionCode by extra(1 * 12000 + getGitCommitCount() + 500)
val managerVersionCode by extra(1 * 10000 + getGitCommitCount() + 606)
val managerVersionName by extra(getGitDescribe())
fun getGitCommitCount(): Int {
@@ -53,7 +53,7 @@ fun getGitDescribe(): String {
fun getVersionCode(): Int {
val commitCount = getGitCommitCount()
val major = 1
return major * 12000 + commitCount + 500
return major * 10000 + commitCount + 606
}
fun getVersionName(): String {