charger: regenerate.sh: Don't delete percent_font.png

Change-Id: I2fbdb2187b973ee5cc2a1f7eaa8f7a53791e7146
This commit is contained in:
Michael Bestas
2023-10-31 19:19:52 +02:00
committed by Michael Bestas
parent 6cdc94e42e
commit 6342c64e08

View File

@@ -9,8 +9,8 @@ for DENSITY in mdpi:160 hdpi:240 xhdpi:320 xxhdpi:480 xxxhdpi:640; do
DPI=$(echo $DENSITY | cut -f1 -d ':')
WIDTH=$(echo $DENSITY | cut -f2 -d ':')
rm -rf $DPI
mkdir $DPI
rm $DPI/battery_fail.png
rm $DPI/battery_scale.png
for SVG in svg/*.svg; do
PNG="$DPI/$(basename $SVG | cut -f1 -d '.').png"