Skip to content

Commit

Permalink
s/versionNameSuffix/applicationIdSuffix (2dust#4168)
Browse files Browse the repository at this point in the history
  • Loading branch information
UjuiUjuMandan authored Dec 21, 2024
1 parent 02038a5 commit 68fbdd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions V2rayNG/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ android {
productFlavors {
create("fdroid") {
dimension = "distribution"
versionNameSuffix = "-fdroid"
applicationIdSuffix = ".fdroid"
buildConfigField("String", "DISTRIBUTION", "\"F-Droid\"")
}
create("playstore") {
Expand Down Expand Up @@ -89,7 +89,7 @@ android {
.map { it as com.android.build.gradle.internal.api.ApkVariantOutputImpl }
.forEach { output ->
val abi = output.getFilter("ABI") ?: "universal"
output.outputFileName = "v2rayNG_${variant.versionName}_${abi}.apk"
output.outputFileName = "v2rayNG_${variant.versionName}-fdroid_${abi}.apk"
if (versionCodes.containsKey(abi)) {
output.versionCodeOverride =
(100 * variant.versionCode + versionCodes[abi]!!).plus(5000000)
Expand Down

0 comments on commit 68fbdd9

Please sign in to comment.