Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Differentiated app_name in different builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sh1r0 committed Mar 19, 2017
1 parent 7626f24 commit 2134b70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ android {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue "string", "app_name", "NovelDroid"
}

debug {
applicationIdSuffix ".debug"
versionNameSuffix "-DEBUG"
resValue "string", "app_name", "NovelDroid - debug"
}
}
}
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<string name="app_name">NovelDroid</string>
<string name="author_name">sh1r0</string>
<string name="success">成功</string>
<string name="done">完成</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<string name="app_name">NovelDroid</string>
<string name="author_name">sh1r0</string>
<string name="success">Success</string>
<string name="done">Done</string>
Expand Down

0 comments on commit 2134b70

Please sign in to comment.