Files
eden/tools/optimize-assets.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
244 B
Bash
Raw Normal View History

#!/bin/sh -e
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
# SPDX-License-Identifier: GPL-3.0-or-later
# Optimizes assets of Eden (requires OptiPng)
which optipng || exit
find . -type f -name "*.png" -exec optipng -o7 {} \;