Skip to content

Commit 2d862cc

Browse files
Fix: Fixed Debug/Nightly Stuff.
1 parent a1c61d9 commit 2d862cc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ android {
3434
isShrinkResources = false
3535
isDebuggable = true
3636
applicationIdSuffix = ".debug"
37+
versionNameSuffix = "-debug"
3738
proguardFiles(
3839
getDefaultProguardFile("proguard-android-optimize.txt"),
3940
"proguard-rules.pro"
4041
)
41-
resValue("string", "app_name", "Easy Launcher (Debug)")
4242
}
4343

4444
getByName("release") {
@@ -48,7 +48,6 @@ android {
4848
getDefaultProguardFile("proguard-android-optimize.txt"),
4949
"proguard-rules.pro"
5050
)
51-
resValue("string", "app_name", "Easy Launcher")
5251
}
5352
}
5453

@@ -77,6 +76,7 @@ android {
7776
"android.permission.ACCESS_FINE_LOCATION"
7877
manifestPlaceholders["coarseLocationPermission"] =
7978
"android.permission.ACCESS_COARSE_LOCATION"
79+
resValue("string", "app_name", "Easy Launcher")
8080
val weatherFile = project.rootProject.file("weather.properties")
8181
if (weatherFile.exists()) {
8282
val properties = Properties()
@@ -104,6 +104,7 @@ android {
104104
manifestPlaceholders["internetPermission"] = "REMOVE"
105105
manifestPlaceholders["fineLocationPermission"] = "REMOVE"
106106
manifestPlaceholders["coarseLocationPermission"] = "REMOVE"
107+
resValue("string", "app_name", "Easy Launcher")
107108
buildConfigField(
108109
type = "String",
109110
name = "API_KEY",
@@ -144,12 +145,12 @@ android {
144145
applicationIdSuffix = ".nightly"
145146
versionNameSuffix = "-nightly"
146147
manifestPlaceholders["internetPermission"] = "REMOVE"
148+
resValue("string", "app_name", "Easy Launcher (Nightly)")
147149
buildConfigField(
148150
type = "String",
149151
name = "API_KEY",
150152
value = "\"REMOVE\""
151153
)
152-
resValue("string", "app_name", "Easy Launcher (Nightly)")
153154
}
154155
}
155156

0 commit comments

Comments
 (0)