Merge pull request #97 from Dragon8oy/patch-1

Correct filename for optipng compression
This commit is contained in:
Vince 2020-10-20 12:38:55 +08:00 committed by GitHub
commit 877bbedfa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ 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/$1.png"
$OPTIPNG -o7 --quiet "$ASSETS_DIR/$i.png"
fi
done < "$INDEX"