[dist] reoptimize assets, and add svg optimization (#4537)

Co-authored-by: GreenStar <145512144+thegreatGreenstar@users.noreply.github.com>
Signed-off-by: crueter <crueter@eden-emu.dev>

- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md).
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability.

-------------------

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4537
This commit is contained in:
crueter
2026-11-01 21:45:45 +01:00
parent 3d3ed4b7d1
commit 972860ac8f
19 changed files with 18 additions and 2485 deletions
+5
View File
@@ -8,3 +8,8 @@ NPROC=$(nproc 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null || sysctl -n
# shellcheck disable=SC2038
find . -type f -iname '*.png' | xargs -P "$NPROC" -I {} optipng -o7 {}
which svgo || exit
# shellcheck disable=SC2038
find . -type f -iname '*.svg' | xargs -P "$NPROC" -I {} svgo {}