From 2427384422592225ced402a9aab5e21aa1de636d Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Sun, 31 Mar 2024 17:03:41 -0400 Subject: [PATCH] deleted script that is not there --- mods/mobs/textures/00.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 mods/mobs/textures/00.sh diff --git a/mods/mobs/textures/00.sh b/mods/mobs/textures/00.sh deleted file mode 100755 index 92d9eb3..0000000 --- a/mods/mobs/textures/00.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -set -eu - -FIXED=0 - -for f in ./*.png; do - WARN="$(pngcrush -n -warn "$f" 2>&1)" - printf %s\\n "file = $f" "warn = $WARN" - case "$WARN" in - *'PCS illuminant is not D50'*|*'known incorrect sRGB profile'* ) - pngcrush -s -ow -rem allb -reduce "$f" - FIXED=$((FIXED + 1)) - ;; - esac - pngquant -v -f --ext .png --quality 0-50 --speed 1 "$f" -done - -printf %s\\n "$FIXED errors fixed"