build: make variant more identifiable

Release variant will use the "ReVanced Manager" app name, Debug will use "ReVanced Manager Debug"
This commit is contained in:
Pun Butrach 2023-08-15 21:31:34 +07:00
parent 63175cdec6
commit 43f98cec43
No known key found for this signature in database
GPG Key ID: DBA94253E1D3F267
2 changed files with 4 additions and 4 deletions

View File

@ -52,8 +52,7 @@ android {
buildTypes { buildTypes {
release { release {
shrinkResources false resValue "string", "app_name", "ReVanced Manager"
minifyEnabled false
signingConfig signingConfigs.debug signingConfig signingConfigs.debug
ndk { ndk {
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64' abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64'
@ -62,8 +61,9 @@ android {
debug { debug {
shrinkResources false shrinkResources false
minifyEnabled false minifyEnabled false
signingConfig signingConfigs.debug resValue "string", "app_name", "ReVanced Manager Debug"
applicationIdSuffix ".debug" applicationIdSuffix ".debug"
signingConfig signingConfigs.debug
ndk { ndk {
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64' abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64'
} }

View File

@ -20,7 +20,7 @@
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
<application <application
android:label="ReVanced Manager" android:label="@string/app_name"
android:name="${applicationName}" android:name="${applicationName}"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:largeHeap="true" android:largeHeap="true"