Change app name for debug builds

This commit is contained in:
Torsten Grote
2017-08-01 13:06:07 -03:00
parent 33a0099065
commit 08ce6a7331
2 changed files with 2 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ android {
versionName "0.16.8" versionName "0.16.8"
applicationId "org.briarproject.briar.beta" applicationId "org.briarproject.briar.beta"
resValue "string", "app_package", "org.briarproject.briar.beta" resValue "string", "app_package", "org.briarproject.briar.beta"
resValue "string", "app_name", "Briar Beta"
buildConfigField "String", "GitHash", "\"${getGitHash()}\"" buildConfigField "String", "GitHash", "\"${getGitHash()}\""
} }
@@ -89,6 +90,7 @@ android {
debug { debug {
applicationIdSuffix ".debug" applicationIdSuffix ".debug"
resValue "string", "app_package", "org.briarproject.briar.beta.debug" resValue "string", "app_package", "org.briarproject.briar.beta.debug"
resValue "string", "app_name", "Briar Debug"
shrinkResources false shrinkResources false
minifyEnabled true minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'

View File

@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string translatable="false" name="app_name">Briar Beta</string>
<!-- Setup --> <!-- Setup -->
<string name="setup_title">Briar Setup</string> <string name="setup_title">Briar Setup</string>