summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {
74 74
75 // Signed by release key, allowing for upload to Play Store. 75 // Signed by release key, allowing for upload to Play Store.
76 release { 76 release {
77 resValue("string", "app_name_suffixed", "yuzu")
77 signingConfig = signingConfigs.getByName("debug") 78 signingConfig = signingConfigs.getByName("debug")
78 isMinifyEnabled = true 79 isMinifyEnabled = true
79 isDebuggable = false 80 isDebuggable = false
@@ -86,6 +87,7 @@ android {
86 // builds a release build that doesn't need signing 87 // builds a release build that doesn't need signing
87 // Attaches 'debug' suffix to version and package name, allowing installation alongside the release build. 88 // Attaches 'debug' suffix to version and package name, allowing installation alongside the release build.
88 register("relWithDebInfo") { 89 register("relWithDebInfo") {
90 resValue("string", "app_name_suffixed", "yuzu Debug Release")
89 signingConfig = signingConfigs.getByName("debug") 91 signingConfig = signingConfigs.getByName("debug")
90 isMinifyEnabled = true 92 isMinifyEnabled = true
91 isDebuggable = true 93 isDebuggable = true
@@ -93,16 +95,19 @@ android {
93 getDefaultProguardFile("proguard-android.txt"), 95 getDefaultProguardFile("proguard-android.txt"),
94 "proguard-rules.pro" 96 "proguard-rules.pro"
95 ) 97 )
96 versionNameSuffix = "-debug" 98 versionNameSuffix = "-relWithDebInfo"
99 applicationIdSuffix = ".relWithDebInfo"
97 isJniDebuggable = true 100 isJniDebuggable = true
98 } 101 }
99 102
100 // Signed by debug key disallowing distribution on Play Store. 103 // Signed by debug key disallowing distribution on Play Store.
101 // Attaches 'debug' suffix to version and package name, allowing installation alongside the release build. 104 // Attaches 'debug' suffix to version and package name, allowing installation alongside the release build.
102 debug { 105 debug {
106 resValue("string", "app_name_suffixed", "yuzu Debug")
103 isDebuggable = true 107 isDebuggable = true
104 isJniDebuggable = true 108 isJniDebuggable = true
105 versionNameSuffix = "-debug" 109 versionNameSuffix = "-debug"
110 applicationIdSuffix = ".debug"
106 } 111 }
107 } 112 }
108 113
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
18 18
19 <application 19 <application
20 android:name="org.yuzu.yuzu_emu.YuzuApplication" 20 android:name="org.yuzu.yuzu_emu.YuzuApplication"
21 android:label="@string/app_name" 21 android:label="@string/app_name_suffixed"
22 android:icon="@drawable/ic_launcher" 22 android:icon="@drawable/ic_launcher"
23 android:allowBackup="true" 23 android:allowBackup="true"
24 android:hasFragileUserData="true" 24 android:hasFragileUserData="true"