mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
feat: Compression script with compressed images
Also modified genicons.sh Signed-off-by: txtsd <code@ihavea.quest>
This commit is contained in:
9
scripts/compress_images.sh
Executable file
9
scripts/compress_images.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
## If current working dirctory is ./scripts, ask to invoke from one directory up
|
||||
if [ ! -d "scripts" ]; then
|
||||
echo "Please run this script from the root directory of the project"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
find . -type f -name '*.png' -not -path '*/libraries/*' -exec oxipng --opt max --strip all --alpha --interlace 0 {} \;
|
Reference in New Issue
Block a user