diff --git a/mobile-app/composeApp/build.gradle.kts b/mobile-app/composeApp/build.gradle.kts index 93dd2aba..1d16dee2 100644 --- a/mobile-app/composeApp/build.gradle.kts +++ b/mobile-app/composeApp/build.gradle.kts @@ -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\"") } diff --git a/mobile-app/composeApp/release/composeApp-release.aab b/mobile-app/composeApp/release/composeApp-release.aab index 9c53f8a3..d0d8c5df 100644 Binary files a/mobile-app/composeApp/release/composeApp-release.aab and b/mobile-app/composeApp/release/composeApp-release.aab differ diff --git a/mobile-app/composeApp/src/androidMain/res/drawable-hdpi/ic_launcher_foreground.png b/mobile-app/composeApp/src/androidMain/res/drawable-hdpi/ic_launcher_foreground.png index a9085e87..30633602 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/drawable-hdpi/ic_launcher_foreground.png and b/mobile-app/composeApp/src/androidMain/res/drawable-hdpi/ic_launcher_foreground.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/drawable-mdpi/ic_launcher_foreground.png b/mobile-app/composeApp/src/androidMain/res/drawable-mdpi/ic_launcher_foreground.png index bda9983e..b3c84d04 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/drawable-mdpi/ic_launcher_foreground.png and b/mobile-app/composeApp/src/androidMain/res/drawable-mdpi/ic_launcher_foreground.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/drawable-xhdpi/ic_launcher_foreground.png b/mobile-app/composeApp/src/androidMain/res/drawable-xhdpi/ic_launcher_foreground.png index de1a8be8..7133962b 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/drawable-xhdpi/ic_launcher_foreground.png and b/mobile-app/composeApp/src/androidMain/res/drawable-xhdpi/ic_launcher_foreground.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/drawable-xxhdpi/ic_launcher_foreground.png b/mobile-app/composeApp/src/androidMain/res/drawable-xxhdpi/ic_launcher_foreground.png index bb16233c..314f8fca 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/drawable-xxhdpi/ic_launcher_foreground.png and b/mobile-app/composeApp/src/androidMain/res/drawable-xxhdpi/ic_launcher_foreground.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/drawable-xxxhdpi/ic_launcher_foreground.png b/mobile-app/composeApp/src/androidMain/res/drawable-xxxhdpi/ic_launcher_foreground.png index c74c07f8..78735911 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/drawable-xxxhdpi/ic_launcher_foreground.png and b/mobile-app/composeApp/src/androidMain/res/drawable-xxxhdpi/ic_launcher_foreground.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher.png b/mobile-app/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher.png index b83228c3..cc227bc3 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher.png and b/mobile-app/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher_round.png b/mobile-app/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher_round.png index b83228c3..cc227bc3 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher_round.png and b/mobile-app/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher.png b/mobile-app/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher.png index ca80baf2..3d4a0ce1 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher.png and b/mobile-app/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher_round.png b/mobile-app/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher_round.png index ca80baf2..3d4a0ce1 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher_round.png and b/mobile-app/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher.png b/mobile-app/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher.png index ad066afa..88cc0c67 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher.png and b/mobile-app/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher_round.png b/mobile-app/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher_round.png index ad066afa..88cc0c67 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher_round.png and b/mobile-app/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher.png b/mobile-app/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher.png index ab867730..711d3b97 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher.png and b/mobile-app/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher_round.png b/mobile-app/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher_round.png index ab867730..711d3b97 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher_round.png and b/mobile-app/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher.png b/mobile-app/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher.png index e60e7b76..191ee649 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher.png and b/mobile-app/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_round.png b/mobile-app/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_round.png index e60e7b76..191ee649 100644 Binary files a/mobile-app/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_round.png and b/mobile-app/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/mobile-app/composeApp/src/androidMain/res/values/ic_launcher_colors.xml b/mobile-app/composeApp/src/androidMain/res/values/ic_launcher_colors.xml index 2b187a4b..e5f48eb6 100644 --- a/mobile-app/composeApp/src/androidMain/res/values/ic_launcher_colors.xml +++ b/mobile-app/composeApp/src/androidMain/res/values/ic_launcher_colors.xml @@ -1,5 +1,5 @@ - - #FFFFFF + + #184636 diff --git a/mobile-app/scripts/refresh-android-launcher-icons.sh b/mobile-app/scripts/refresh-android-launcher-icons.sh new file mode 100755 index 00000000..032b7a15 --- /dev/null +++ b/mobile-app/scripts/refresh-android-launcher-icons.sh @@ -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"