diff options
| author | Feuerfuchs <git@feuerfuchs.dev> | 2019-09-24 11:13:25 +0200 |
|---|---|---|
| committer | Feuerfuchs <git@feuerfuchs.dev> | 2019-09-24 11:13:25 +0200 |
| commit | 4bd3a4c563179bb6fc880d6f1be2b30e1cabf0d6 (patch) | |
| tree | 8b66c9caa8247355ed236a116b877be67b416cc0 /gen.sh | |
| parent | Updates, new: boop*, flower*, megumin, nomdonut* (diff) | |
| download | blobfox-emojis-4bd3a4c563179bb6fc880d6f1be2b30e1cabf0d6.tar.gz blobfox-emojis-4bd3a4c563179bb6fc880d6f1be2b30e1cabf0d6.tar.bz2 blobfox-emojis-4bd3a4c563179bb6fc880d6f1be2b30e1cabf0d6.zip | |
bottompeek* -> lurk*, new: nomstrawberry, reachaww, santa, cute, bongostart, angrylaugh
Diffstat (limited to 'gen.sh')
| -rwxr-xr-x | gen.sh | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -11,15 +11,18 @@ cp LICENSE export/ | |||
| 11 | cp export/* export_flip/ | 11 | cp export/* export_flip/ |
| 12 | 12 | ||
| 13 | cd export | 13 | cd export |
| 14 | apngasm blobfoxbongo.png blobfoxbongostart.png 1 2 | ||
| 14 | 15 | ||
| 15 | FILELIST=`find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; printf "%s:%s|" ${x%.png} $x' {} \;` | 16 | FILELIST=`find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; printf "%s:%s|" ${x%.png} $x' {} \;` |
| 16 | jq -Rn 'input | split("|") | map(split(":") | { key: .[0], value: .[1] }) | from_entries' <<< "${FILELIST%|}" > blobfox.json | 17 | jq -Rn 'input | split("|") | map(split(":") | { key: .[0], value: .[1] }) | from_entries' <<< "${FILELIST%|}" > blobfox.json |
| 17 | 18 | ||
| 18 | zip blobfox.zip *.png | 19 | zip blobfox.zip *.png |
| 20 | zip blobfox.zip *.apng | ||
| 19 | zip blobfox.zip LICENSE | 21 | zip blobfox.zip LICENSE |
| 20 | CHECKSUM=`sha256sum -z blobfox.zip | awk '{ print $1 }'` | 22 | CHECKSUM=`sha256sum -z blobfox.zip | awk '{ print $1 }'` |
| 21 | 23 | ||
| 22 | cd ../export_flip | 24 | cd ../export_flip |
| 25 | apngasm blobfoxbongo.png blobfoxbongostart.png 1 2 | ||
| 23 | 26 | ||
| 24 | rm blobfoxsign*.png blobfoxconfused.png blobfoxbottompeek2.png blobfoxbreadsnoot*.png | 27 | rm blobfoxsign*.png blobfoxconfused.png blobfoxbottompeek2.png blobfoxbreadsnoot*.png |
| 25 | find . -type f -iname '*.png' -exec sh -c 'x=${0#./blobfox}; mv blobfox$x revblobfox$x' {} \; | 28 | find . -type f -iname '*.png' -exec sh -c 'x=${0#./blobfox}; mv blobfox$x revblobfox$x' {} \; |
| @@ -28,6 +31,7 @@ FILELIST=`find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; printf "%s:%s|" | |||
| 28 | jq -Rn 'input | split("|") | map(split(":") | { key: .[0], value: .[1] }) | from_entries' <<< "${FILELIST%|}" > blobfox_flip.json | 31 | jq -Rn 'input | split("|") | map(split(":") | { key: .[0], value: .[1] }) | from_entries' <<< "${FILELIST%|}" > blobfox_flip.json |
| 29 | 32 | ||
| 30 | zip blobfox_flip.zip *.png | 33 | zip blobfox_flip.zip *.png |
| 34 | zip blobfox_flip.zip *.apng | ||
| 31 | zip blobfox_flip.zip LICENSE | 35 | zip blobfox_flip.zip LICENSE |
| 32 | CHECKSUM_FLIP=`sha256sum -z blobfox_flip.zip | awk '{ print $1 }'` | 36 | CHECKSUM_FLIP=`sha256sum -z blobfox_flip.zip | awk '{ print $1 }'` |
| 33 | 37 | ||
