Rename package and APKs to NilsMG4, credit Fatih, add SPECS.md
- applicationId com.evsuite.abrp -> com.stinnesbeck.nilsmg4 (the car build is .unstable); the Java namespace is unchanged. Installs next to upstream's app rather than over it. - APK names NilsMG4-*.apk, debug builds included; build-car follows. - OTA install-result action, cache/download names, User-Agent and log tags follow the new name. - About credits fatihdonmezdev / FatihsMG4. - SPECS.md journals what changed and what is still to do, starting with pointing the About link and QR code at git.stinnesbeck.com/nils/mg4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+7
-4
@@ -31,7 +31,7 @@ android {
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.evsuite.abrp"
|
||||
applicationId "com.stinnesbeck.nilsmg4"
|
||||
minSdk 27
|
||||
targetSdk 36
|
||||
versionCode 56
|
||||
@@ -113,7 +113,7 @@ android {
|
||||
}
|
||||
|
||||
// Version publiée par la CI pour composer le nom de l'asset APK : ce nom DOIT être
|
||||
// comparable par l'updater ("FatihsMG4-unstable-1.0.42.apk"). Le tag de la
|
||||
// comparable par l'updater ("NilsMG4-unstable-1.0.42.apk"). Le tag de la
|
||||
// pré-release est la constante "unstable", écrasée à chaque build.
|
||||
tasks.register('printUnstableVersion') {
|
||||
doLast {
|
||||
@@ -129,8 +129,11 @@ androidComponents {
|
||||
// Le canal unstable garde un nom de fichier stable : l'updater identifie
|
||||
// la version par le tag de la pré-release, jamais par le nom d'APK.
|
||||
output.outputFileName.set(variant.flavorName == "unstable"
|
||||
? "FatihsMG4-unstable.apk"
|
||||
: "FatihsMG4-${variant.flavorName}-${output.versionName.get()}.apk")
|
||||
? "NilsMG4-unstable.apk"
|
||||
: "NilsMG4-${variant.flavorName}-${output.versionName.get()}.apk")
|
||||
} else {
|
||||
// Debug builds: NilsMG4-stable-debug.apk, NilsMG4-unstable-debug.apk.
|
||||
output.outputFileName.set("NilsMG4-${variant.flavorName}-${variant.buildType}.apk")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user