Merge pull request #41 from DarkKirb/max-sticker-size-50k

Increase the maximum emoji size to 50kB
This commit is contained in:
Charlotte 🦝 Delenk 2022-11-27 16:48:27 +01:00 committed by GitHub
commit 10daae0083
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@ in
mogrify -resize 256x256\> *.png
find . -type f -name '*.png' -execdir ${../../../lib/crushpng.sh} {} {}.new 40000 \;
find . -type f -name '*.png' -execdir ${../../../lib/crushpng.sh} {} {}.new 50000 \;
for f in $(find . -type f -name '*.new'); do
mv $f ${"$"}{f%.new}
done

View file

@ -24,7 +24,7 @@
ln -s ${crushpng {
inherit name;
src = resized name;
maxsize = 40000;
maxsize = 50000;
}} $out/${name}.png
'';
emoji = [

View file

@ -32,7 +32,7 @@ in
bsdtar -xf $src
'';
buildPhase = ''
find . -type f -name '*.png' -execdir ${./crushpng.sh} {} {}.new 40000 \;
find . -type f -name '*.png' -execdir ${./crushpng.sh} {} {}.new 50000 \;
for f in $(find . -type f -name '*.new'); do
mv $f ${"$"}{f%.new}
done