Repo: use package name for icon filenames to avoid unnecessary file changes
This commit is contained in:
parent
75943902f4
commit
08c99ded38
|
@ -30,7 +30,10 @@ for APK in ${APKS[@]}; do
|
||||||
LANG=$(echo $APK | grep -Po "tachiyomi-\K[^\.]+")
|
LANG=$(echo $APK | grep -Po "tachiyomi-\K[^\.]+")
|
||||||
|
|
||||||
ICON=$(echo "$BADGING" | grep -Po "application-icon-320.*'\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)
|
SOURCE_INFO=$(jq ".[\"$PKGNAME\"]" < ../output.json)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue