fix build script

This commit is contained in:
jmir1 2021-06-14 19:14:37 +02:00
parent 6ffc689ef6
commit 25f2efdcec

View File

@ -25,7 +25,7 @@ for APK in ${APKS[@]}; do
APPLICATION=$(echo "$BADGING" | grep application:) APPLICATION=$(echo "$BADGING" | grep application:)
LABEL=$(echo $APPLICATION | grep -Po "label='\K[^']+") LABEL=$(echo $APPLICATION | grep -Po "label='\K[^']+")
LANG=$(echo $APK | grep -Po "tachiyomi-\K[^\.]+") LANG=$(echo $APK | grep -Po "aniyomi-\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/${FILENAME%.*}.png