Repo: use package name for icon filenames to avoid unnecessary file changes

This commit is contained in:
arkon 2023-07-16 14:55:51 -04:00
parent 75943902f4
commit 08c99ded38
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,10 @@ for APK in ${APKS[@]}; do
LANG=$(echo $APK | grep -Po "tachiyomi-\K[^\.]+")
ICON=$(echo "$BADGING" | grep -Po "application-icon-320.*'\K[^']+")
unzip -p $APK $ICON > icon/${FILENAME%.*}.png
unzip -p $APK $ICON > icon/${PKGNAME}.png
# TODO: legacy icons; remove after a while
cp icon/${PKGNAME}.png icon/${FILENAME%.*}.png
SOURCE_INFO=$(jq ".[\"$PKGNAME\"]" < ../output.json)