This commit is contained in:
vinceliuice
2020-06-20 22:53:17 +08:00
parent 3061980e20
commit b82c7a28b4
480 changed files with 1696 additions and 1751 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
#! /bin/bash
INKSCAPE="/usr/bin/inkscape"
OPTIPNG="/usr/bin/optipng"
INDEX="logos.txt"
ASSETS_DIR="icons-1080p"
@@ -17,7 +18,8 @@ else
echo Rendering $ASSETS_DIR/$i.png
$INKSCAPE --export-id=$i \
--export-id-only \
--export-png=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null
--export-filename=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null
$OPTIPNG -o7 --quiet $ASSETS_DIR/$1.png
fi
done