From 2d862cc46ea900512b7890615df2b0db69af3342 Mon Sep 17 00:00:00 2001 From: HeCodes2Much Date: Sun, 1 Dec 2024 19:53:03 +0000 Subject: [PATCH] Fix: Fixed Debug/Nightly Stuff. --- app/build.gradle.kts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 6333e3fe..863e6e1b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -34,11 +34,11 @@ android { isShrinkResources = false isDebuggable = true applicationIdSuffix = ".debug" + versionNameSuffix = "-debug" proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) - resValue("string", "app_name", "Easy Launcher (Debug)") } getByName("release") { @@ -48,7 +48,6 @@ android { getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) - resValue("string", "app_name", "Easy Launcher") } } @@ -77,6 +76,7 @@ android { "android.permission.ACCESS_FINE_LOCATION" manifestPlaceholders["coarseLocationPermission"] = "android.permission.ACCESS_COARSE_LOCATION" + resValue("string", "app_name", "Easy Launcher") val weatherFile = project.rootProject.file("weather.properties") if (weatherFile.exists()) { val properties = Properties() @@ -104,6 +104,7 @@ android { manifestPlaceholders["internetPermission"] = "REMOVE" manifestPlaceholders["fineLocationPermission"] = "REMOVE" manifestPlaceholders["coarseLocationPermission"] = "REMOVE" + resValue("string", "app_name", "Easy Launcher") buildConfigField( type = "String", name = "API_KEY", @@ -144,12 +145,12 @@ android { applicationIdSuffix = ".nightly" versionNameSuffix = "-nightly" manifestPlaceholders["internetPermission"] = "REMOVE" + resValue("string", "app_name", "Easy Launcher (Nightly)") buildConfigField( type = "String", name = "API_KEY", value = "\"REMOVE\"" ) - resValue("string", "app_name", "Easy Launcher (Nightly)") } }