Increase the maximum emoji size to 50kB
I thought the limit imposed by mastotodon < 4.0 was 40kB but it’s 50kB
This commit is contained in:
parent
6d0982b80f
commit
f0145fea8f
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
ln -s ${crushpng {
|
||||
inherit name;
|
||||
src = resized name;
|
||||
maxsize = 40000;
|
||||
maxsize = 50000;
|
||||
}} $out/${name}.png
|
||||
'';
|
||||
emoji = [
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue