File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -370,6 +370,23 @@ jobs:
370370 source scripts/env.sh
371371 scripts/app_config/shared/update_version.sh -v "0.0.0" -b "${{ github.run_number }}"
372372
373+ - name : Generate Android app icons and splash assets
374+ run : |
375+ source scripts/env.sh
376+ scripts/app_config/shared/asset_generators.sh android
377+
378+ - name : Ensure Android launcher icons exist
379+ shell : bash
380+ run : |
381+ set -euxo pipefail
382+ ICON_SOURCE="asset_sources/icon/campfire/icon.png"
383+ test -f "${ICON_SOURCE}"
384+ for d in mipmap-mdpi mipmap-hdpi mipmap-xhdpi mipmap-xxhdpi mipmap-xxxhdpi; do
385+ mkdir -p "android/app/src/main/res/${d}"
386+ cp "${ICON_SOURCE}" "android/app/src/main/res/${d}/ic_launcher.png"
387+ cp "${ICON_SOURCE}" "android/app/src/main/res/${d}/ic_launcher_round.png"
388+ done
389+
373390 - name : Generate local template secrets
374391 run : |
375392 cd scripts
You can’t perform that action at this time.
0 commit comments