aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.14/render-assets.sh
diff options
context:
space:
mode:
authorHorst31802015-12-28 18:17:01 +0100
committerHorst31802015-12-28 18:17:01 +0100
commit5396c7f24c7ac263197722a3b3011f3a47ab2443 (patch)
tree02bf84d3e10c3699624cb6a2f488d891f0ceba42 /common/gtk-3.0/3.14/render-assets.sh
parent6c028cace9f4b7775309aca4d726fe2bc7bc2ba1 (diff)
downloadsolarc-theme-5396c7f24c7ac263197722a3b3011f3a47ab2443.tar.gz
solarc-theme-5396c7f24c7ac263197722a3b3011f3a47ab2443.tar.xz
solarc-theme-5396c7f24c7ac263197722a3b3011f3a47ab2443.zip
compress all png assets with optipng
Diffstat (limited to 'common/gtk-3.0/3.14/render-assets.sh')
-rwxr-xr-xcommon/gtk-3.0/3.14/render-assets.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/gtk-3.0/3.14/render-assets.sh b/common/gtk-3.0/3.14/render-assets.sh
index 24d7675..d31fbb8 100755
--- a/common/gtk-3.0/3.14/render-assets.sh
+++ b/common/gtk-3.0/3.14/render-assets.sh
@@ -16,8 +16,8 @@ else
echo Rendering $ASSETS_DIR/$i.png
$INKSCAPE --export-id=$i \
--export-id-only \
- --export-png=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null #\
- # && $OPTIPNG -o7 --quiet $ASSETS_DIR/$i.png
+ --export-png=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null \
+ && $OPTIPNG -o7 --quiet $ASSETS_DIR/$i.png
fi
if [ -f $ASSETS_DIR/$i@2.png ]; then
echo $ASSETS_DIR/$i@2.png exists.
@@ -27,8 +27,8 @@ else
$INKSCAPE --export-id=$i \
--export-dpi=180 \
--export-id-only \
- --export-png=$ASSETS_DIR/$i@2.png $SRC_FILE >/dev/null #\
- # && $OPTIPNG -o7 --quiet $ASSETS_DIR/$i@2.png
+ --export-png=$ASSETS_DIR/$i@2.png $SRC_FILE >/dev/null \
+ && $OPTIPNG -o7 --quiet $ASSETS_DIR/$i@2.png
fi
done
exit 0