playstore icon

This commit is contained in:
julian 2024-05-24 14:16:41 -06:00
parent fc631bf866
commit abbe772e43
4 changed files with 8 additions and 1 deletions

3
.gitignore vendored
View file

@ -66,6 +66,7 @@ flutter_libsparkmobile.dll
secp256k1.dll
/libisar.so
/lib/app_config.g.dart
/android/app/src/main/app_icon-playstore.png
## other generated project files
@ -94,4 +95,4 @@ pubspec.yaml
/windows/runner/Runner.rc
/windows/runner/main.cpp
/windows/CMakeLists.txt
/windows/runner/resources/app_icon.ico
/windows/runner/resources/app_icon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View file

@ -79,6 +79,12 @@ else
usage
fi
PLAY_STORE_ICON_FILE="${APP_PROJECT_ROOT_DIR}/android/app/src/main/app_icon-playstore.png"
if [ -f "${PLAY_STORE_ICON_FILE}" ]; then
rm "${PLAY_STORE_ICON_FILE}"
fi
cp -rp "${APP_PROJECT_ROOT_DIR}/asset_sources/other/playstore_icon/${APP_NAMED_ID}/app_icon-playstore.png" "${PLAY_STORE_ICON_FILE}"
# apply config project wide change changes
if printf '%s\0' "${APP_NAMED_IDS[@]}" | grep -Fxqz -- "${APP_NAMED_ID}"; then
if cmp -s "${ACTUAL_PUBSPEC}" "${T_PUBSPEC}"; then