Add more stuff:
Some checks failed
Inventory Packaging / package (push) Has been cancelled

* 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:
Kouya Heika
2025-08-15 23:08:22 -05:00
parent 28aa404c4b
commit b699c54539
347 changed files with 259 additions and 30 deletions

View File

@@ -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"