summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-06-11 08:16:45 +0200
committerCharles Lombardo <clombardo169@gmail.com>2023-06-11 08:16:45 +0200
commitf23a2b514b3332614c470d5d5273ed289aec797e (patch)
tree8c513f8bdc3d8302102f1b718f932a6965d20c0c
parentAndroid: Remove unused relWithVersionCode build type (diff)
downloadyuzu-f23a2b514b3332614c470d5d5273ed289aec797e.tar
yuzu-f23a2b514b3332614c470d5d5273ed289aec797e.tar.gz
yuzu-f23a2b514b3332614c470d5d5273ed289aec797e.tar.bz2
yuzu-f23a2b514b3332614c470d5d5273ed289aec797e.tar.lz
yuzu-f23a2b514b3332614c470d5d5273ed289aec797e.tar.xz
yuzu-f23a2b514b3332614c470d5d5273ed289aec797e.tar.zst
yuzu-f23a2b514b3332614c470d5d5273ed289aec797e.zip
-rw-r--r--src/android/app/build.gradle.kts7
-rw-r--r--src/android/app/src/main/AndroidManifest.xml2
2 files changed, 7 insertions, 2 deletions
diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts
index 2ce25b427..c8fe1d14a 100644
--- a/src/android/app/build.gradle.kts
+++ b/src/android/app/build.gradle.kts
@@ -74,6 +74,7 @@ android {
// Signed by release key, allowing for upload to Play Store.
release {
+ resValue("string", "app_name_suffixed", "yuzu")
signingConfig = signingConfigs.getByName("debug")
isMinifyEnabled = true
isDebuggable = false
@@ -86,6 +87,7 @@ android {
// builds a release build that doesn't need signing
// Attaches 'debug' suffix to version and package name, allowing installation alongside the release build.
register("relWithDebInfo") {
+ resValue("string", "app_name_suffixed", "yuzu Debug Release")
signingConfig = signingConfigs.getByName("debug")
isMinifyEnabled = true
isDebuggable = true
@@ -93,16 +95,19 @@ android {
getDefaultProguardFile("proguard-android.txt"),
"proguard-rules.pro"
)
- versionNameSuffix = "-debug"
+ versionNameSuffix = "-relWithDebInfo"
+ applicationIdSuffix = ".relWithDebInfo"
isJniDebuggable = true
}
// Signed by debug key disallowing distribution on Play Store.
// Attaches 'debug' suffix to version and package name, allowing installation alongside the release build.
debug {
+ resValue("string", "app_name_suffixed", "yuzu Debug")
isDebuggable = true
isJniDebuggable = true
versionNameSuffix = "-debug"
+ applicationIdSuffix = ".debug"
}
}
diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml
index eef566042..1e92098ec 100644
--- a/src/android/app/src/main/AndroidManifest.xml
+++ b/src/android/app/src/main/AndroidManifest.xml
@@ -18,7 +18,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<application
android:name="org.yuzu.yuzu_emu.YuzuApplication"
- android:label="@string/app_name"
+ android:label="@string/app_name_suffixed"
android:icon="@drawable/ic_launcher"
android:allowBackup="true"
android:hasFragileUserData="true"