summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gradle.properties1
-rw-r--r--ui/build.gradle.kts3
-rw-r--r--ui/src/debug/res/values/strings.xml2
-rw-r--r--ui/src/main/res/values/strings.xml2
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 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <string name="app_name" translatable="false">WireGuard β</string>
+ <string name="app_name" translatable="false">(m7n.eu) WireGuard β</string>
</resources>
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 @@
<string name="allow_remote_control_intents_summary_on">External apps may toggle tunnels (advanced)</string>
<string name="allow_remote_control_intents_title">Allow remote control apps</string>
<string name="allowed_ips">Allowed IPs</string>
- <string name="app_name" translatable="false">WireGuard</string>
+ <string name="app_name" translatable="false">(m7n.eu) WireGuard</string>
<string name="bad_config_context">%1$s\'s %2$s</string>
<string name="bad_config_context_top_level">%s</string>
<string name="bad_config_error">%1$s in %2$s</string>