mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
Exclude .png and .po from the exported RetroDECK MIME types
This commit is contained in:
parent
69e1fe868d
commit
83bd6ee384
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue