From f905fe3fcb0af995beb41aa6450e2823a90a085a Mon Sep 17 00:00:00 2001 From: UjuiUjuMandan <125150101+UjuiUjuMandan@users.noreply.github.com> Date: Sat, 21 Dec 2024 07:34:42 +0000 Subject: [PATCH] s/versionNameSuffix/applicationIdSuffix --- V2rayNG/app/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/V2rayNG/app/build.gradle.kts b/V2rayNG/app/build.gradle.kts index ed58a8a08..343d53178 100644 --- a/V2rayNG/app/build.gradle.kts +++ b/V2rayNG/app/build.gradle.kts @@ -52,7 +52,7 @@ android { productFlavors { create("fdroid") { dimension = "distribution" - versionNameSuffix = "-fdroid" + applicationIdSuffix = ".fdroid" buildConfigField("String", "DISTRIBUTION", "\"F-Droid\"") } create("playstore") { @@ -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)