Updated config

This commit is contained in:
Eduard Urbach 2025-06-26 13:37:26 +02:00
parent dea8315917
commit 6d7312c465
Signed by: akyoto
GPG key ID: 49226B848C78F6C8
6 changed files with 17 additions and 4 deletions

View file

@ -21,4 +21,16 @@ for jpg in (find $argv[1] -type f -name '*.jpg')
echo Renaming JSON $json to "$avif.JSON"
mv $json "$avif.JSON"
end
end
for png in (find $argv[1] -type f -name '*.png')
set avif (string replace -r '\.png$' '.avif' $png)
if test -f $avif
echo Skip $avif
continue
end
echo Converting $png to $avif
avifenc $png $avif
end