Exclude .png and .po from the exported RetroDECK MIME types

This commit is contained in:
icenine451 2025-03-28 17:10:46 -04:00
parent 69e1fe868d
commit 83bd6ee384

View file

@ -4,7 +4,7 @@ ES_SYSTEMS_FILE="../ES-DE/resources/systems/linux/es_systems.xml"
MIME_FILE="config/retrodeck/net.retrodeck.retrodeck.mime.xml"
# List of extensions to ignore
IGNORED_EXTENSIONS=". .appimage cue"
IGNORED_EXTENSIONS=". .appimage cue png po"
# Check if xmlstarlet is installed
if ! command -v xmlstarlet &> /dev/null; then
@ -53,4 +53,4 @@ xmlstarlet fo --indent-tab "$MIME_FILE" > "$MIME_FILE.tmp" && mv "$MIME_FILE.tmp
# Clean up temporary files
rm -f "$EXTENSIONS_FILE"
echo "MIME file updated successfully at $MIME_FILE"
echo "MIME file updated successfully at $MIME_FILE"