diff --git a/scripts/minify_icon_png.sh b/scripts/minify_icon_png.sh new file mode 100755 index 000000000..770fd6910 --- /dev/null +++ b/scripts/minify_icon_png.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh +echo oxipng -v -o 3 -a -s -Z ./priv/static/icon-*.png ./priv/static/apple-touch-icon.png +oxipng -v -o 3 -a -s -Z ./priv/static/icon-*.png ./priv/static/apple-touch-icon.png diff --git a/scripts/pack_favicon_ico.sh b/scripts/pack_favicon_ico.sh new file mode 100755 index 000000000..8090f16c5 --- /dev/null +++ b/scripts/pack_favicon_ico.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env sh + +echo "convert ./priv/static/favicon-16.png ./priv/static/favicon-32.png ./priv/static/favicon.ico \ + && rm ./priv/static/favicon-16.png ./priv/static/favicon-32.png" + +convert ./priv/static/favicon-16.png ./priv/static/favicon-32.png ./priv/static/favicon.ico \ + && rm ./priv/static/favicon-16.png ./priv/static/favicon-32.png