Skip to content

Commit

Permalink
fix extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeisfoo committed Dec 23, 2015
1 parent f68a635 commit 7ca0c31
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ios-navbar-icon-generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ FILENAME=$(basename "$SRC_FILE")
FILENAME="${FILENAME%.*}"
OUT_FILENAME="$FILENAME.png"

info "Generate $OUT_FILENAME ..."
convert "$SRC_FILE" -resize 22x22 "$DST_PATH/$OUT_FILENAME"
info "Generate $OUT_FILENAME@2x.png ..."
convert "$SRC_FILE" -resize 44x44 "$DST_PATH/$OUT_FILENAME@2x.png"
info "Generate $OUT_FILENAME@3x.png ..."
convert "$SRC_FILE" -resize 66x66 "$DST_PATH/$OUT_FILENAME@3x.png"
info "Generate $FILENAME.png ..."
convert "$SRC_FILE" -resize 22x22 "$DST_PATH/$FILENAME.png"
info "Generate $FILENAME@2x.png ..."
convert "$SRC_FILE" -resize 44x44 "$DST_PATH/$FILENAME@2x.png"
info "Generate $FILENAME@3x.png ..."
convert "$SRC_FILE" -resize 66x66 "$DST_PATH/$FILENAME@3x.png"

info 'Generate Done.'

0 comments on commit 7ca0c31

Please sign in to comment.