This commit is contained in:
Vince
2021-05-09 21:21:29 +08:00
parent 6590280eb8
commit 1ccc78c7a0
25 changed files with 5124 additions and 955 deletions
-2
View File
@@ -1,7 +1,6 @@
#!/bin/bash
INKSCAPE="/usr/bin/inkscape"
OPTIPNG="/usr/bin/optipng"
if [[ "$1" == "select" ]]; then
EXPORT_TYPE="select"
@@ -40,7 +39,6 @@ while read -r i; do
"--export-dpi=$EXPORT_DPI" \
"--export-id-only" \
"--export-filename=$ASSETS_DIR/$i.png" "$SRC_FILE" >/dev/null
$OPTIPNG -o7 --quiet "$ASSETS_DIR/$i.png"
fi
done < "$INDEX"