From 8877ad2f5045f7aab63dfea24544501e80ff1650 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 10 Apr 2019 00:04:04 +0200 Subject: m7n: local build modifications MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use custom application id: eu.m7n.wireguard.android Set app names to (m7n.eu) WireGuard and (m7n.eu) WireGuard β --- gradle.properties | 1 + ui/build.gradle.kts | 3 ++- ui/src/debug/res/values/strings.xml | 2 +- ui/src/main/res/values/strings.xml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 82fe120c..6e4f2a99 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,7 @@ wireguardVersionCode=502 wireguardVersionName=1.0.20230504 wireguardPackageName=com.wireguard.android +wireguardApplicationID=eu.m7n.wireguard.android # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts index 5c6163af..82f2caae 100644 --- a/ui/build.gradle.kts +++ b/ui/build.gradle.kts @@ -3,6 +3,7 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget import org.jetbrains.kotlin.gradle.tasks.KotlinCompile val pkg: String = providers.gradleProperty("wireguardPackageName").get() +val appID: String = providers.gradleProperty("wireguardApplicationID").get() plugins { alias(libs.plugins.android.application) @@ -19,7 +20,7 @@ android { } namespace = pkg defaultConfig { - applicationId = pkg + applicationId = appID minSdk = 21 targetSdk = 33 versionCode = providers.gradleProperty("wireguardVersionCode").get().toInt() diff --git a/ui/src/debug/res/values/strings.xml b/ui/src/debug/res/values/strings.xml index 947b7381..af58a39d 100644 --- a/ui/src/debug/res/values/strings.xml +++ b/ui/src/debug/res/values/strings.xml @@ -1,4 +1,4 @@ - WireGuard β + (m7n.eu) WireGuard β diff --git a/ui/src/main/res/values/strings.xml b/ui/src/main/res/values/strings.xml index 66e35c98..c9e230db 100644 --- a/ui/src/main/res/values/strings.xml +++ b/ui/src/main/res/values/strings.xml @@ -63,7 +63,7 @@ External apps may toggle tunnels (advanced) Allow remote control apps Allowed IPs - WireGuard + (m7n.eu) WireGuard %1$s\'s %2$s %s %1$s in %2$s -- cgit v1.2.3