* Classic smilies added: Kolobok, vB, Yolks * Fixed card JSON files to use $IMAGE_FILE as a placeholder instead of a key * New Frames * Removed Pyong from make-all (incomplete naming)
This commit is contained in:
@@ -7,7 +7,7 @@ OUTNAME="$(sha256sum "$1" | awk '{ print $1 }').${1##*.}"
|
||||
cp "$INPUT" "$TARGET_DIRECTORY/$OUTNAME"
|
||||
echo "Writing card '$PACK'..."
|
||||
if [[ $2 == '-' && -z $3 ]]; then
|
||||
cp "${INPUT%.*}.json" "$TARGET_DIRECTORY/$PACK.json"
|
||||
sed -e 's/$IMAGE_FILE/'$OUTNAME'/g' "${INPUT%.*}.json" > "$TARGET_DIRECTORY/$PACK.json"
|
||||
exit;
|
||||
fi
|
||||
printf "{\"$PACK\":{" > "$TARGET_DIRECTORY/$PACK.json"
|
||||
|
||||
Reference in New Issue
Block a user