Skip to content

Commit c156dd3

Browse files
mikeNGtechyminati
authored andcommitted
charger: regenerate.sh: Don't delete percent_font.png
Change-Id: I2fbdb2187b973ee5cc2a1f7eaa8f7a53791e7146
1 parent 8e4d66f commit c156dd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

charger/regenerate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ for DENSITY in mdpi:160 hdpi:240 xhdpi:320 xxhdpi:480 xxxhdpi:640; do
99
DPI=$(echo $DENSITY | cut -f1 -d ':')
1010
WIDTH=$(echo $DENSITY | cut -f2 -d ':')
1111

12-
rm -rf $DPI
13-
mkdir $DPI
12+
rm $DPI/battery_fail.png
13+
rm $DPI/battery_scale.png
1414

1515
for SVG in svg/*.svg; do
1616
PNG="$DPI/$(basename $SVG | cut -f1 -d '.').png"

0 commit comments

Comments
 (0)