chore: update versioning and launcher icons
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 46s
- Incremented versionCode to 2 and versionName to 1.0.1 in build.gradle.kts for the new release. - Updated the ic_launcher_background color in ic_launcher_colors.xml to better match the app's branding. - Replaced multiple launcher icon assets across various resolutions to ensure consistency in the app's appearance.
@@ -58,8 +58,8 @@ android {
|
||||
applicationId = "de.tsschulz.tt_tagebuch"
|
||||
minSdk = libs.versions.android.minSdk.get().toInt()
|
||||
targetSdk = libs.versions.android.targetSdk.get().toInt()
|
||||
versionCode = 1
|
||||
versionName = "1.0.0"
|
||||
versionCode = 2
|
||||
versionName = "1.0.1"
|
||||
buildConfigField("String", "BACKEND_BASE_URL", "\"$backendBaseUrl\"")
|
||||
buildConfigField("String", "SOCKET_BASE_URL", "\"$socketBaseUrl\"")
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 151 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 47 KiB |
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- Entspricht legacy Expo android.adaptiveIcon.backgroundColor -->
|
||||
<color name="ic_launcher_background">#FFFFFF</color>
|
||||
<!-- Näher am Web-Header (.app-header, Primärton ~rgb(24,70,54)) für adaptive Icons -->
|
||||
<color name="ic_launcher_background">#184636</color>
|
||||
</resources>
|
||||
|
||||
27
mobile-app/scripts/refresh-android-launcher-icons.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
# Erzeugt Launcher-Icons aus dem Web-Header-Logo (frontend/src/assets/logo.png).
|
||||
# Aufruf von überall: bash mobile-app/scripts/refresh-android-launcher-icons.sh
|
||||
set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
|
||||
SRC="$ROOT/frontend/src/assets/logo.png"
|
||||
RES="$ROOT/mobile-app/composeApp/src/androidMain/res"
|
||||
if [[ ! -f "$SRC" ]]; then
|
||||
echo "Fehlt: $SRC" >&2
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p "$RES/drawable-mdpi" "$RES/drawable-hdpi" "$RES/drawable-xhdpi" "$RES/drawable-xxhdpi" "$RES/drawable-xxxhdpi" \
|
||||
"$RES/mipmap-mdpi" "$RES/mipmap-hdpi" "$RES/mipmap-xhdpi" "$RES/mipmap-xxhdpi" "$RES/mipmap-xxxhdpi"
|
||||
magick "$SRC" -resize 108x108! -filter Lanczos "$RES/drawable-mdpi/ic_launcher_foreground.png"
|
||||
magick "$SRC" -resize 162x162! -filter Lanczos "$RES/drawable-hdpi/ic_launcher_foreground.png"
|
||||
magick "$SRC" -resize 216x216! -filter Lanczos "$RES/drawable-xhdpi/ic_launcher_foreground.png"
|
||||
magick "$SRC" -resize 324x324! -filter Lanczos "$RES/drawable-xxhdpi/ic_launcher_foreground.png"
|
||||
magick "$SRC" -resize 432x432! -filter Lanczos "$RES/drawable-xxxhdpi/ic_launcher_foreground.png"
|
||||
magick "$SRC" -resize 48x48! -filter Lanczos "$RES/mipmap-mdpi/ic_launcher.png"
|
||||
magick "$SRC" -resize 72x72! -filter Lanczos "$RES/mipmap-hdpi/ic_launcher.png"
|
||||
magick "$SRC" -resize 96x96! -filter Lanczos "$RES/mipmap-xhdpi/ic_launcher.png"
|
||||
magick "$SRC" -resize 144x144! -filter Lanczos "$RES/mipmap-xxhdpi/ic_launcher.png"
|
||||
magick "$SRC" -resize 192x192! -filter Lanczos "$RES/mipmap-xxxhdpi/ic_launcher.png"
|
||||
for d in mipmap-mdpi mipmap-hdpi mipmap-xhdpi mipmap-xxhdpi mipmap-xxxhdpi; do
|
||||
cp "$RES/$d/ic_launcher.png" "$RES/$d/ic_launcher_round.png"
|
||||
done
|
||||
echo "OK: Icons aus $SRC nach $RES"
|
||||