feat: Add command to generate favicons
This commit is contained in:
parent
9b09bb7c91
commit
6fcd396876
|
@ -71,6 +71,13 @@ staging() {
|
||||||
docker-compose --context $DOCKER_CONTEXT -f docker-compose.staging.yml up -d --build --force-recreate
|
docker-compose --context $DOCKER_CONTEXT -f docker-compose.staging.yml up -d --build --force-recreate
|
||||||
}
|
}
|
||||||
|
|
||||||
|
favicons() {
|
||||||
|
echo
|
||||||
|
echo "🔍 Génération des favicons à partir d'une image 512px"
|
||||||
|
echo
|
||||||
|
convert static/logo.png -resize 32x32 -colors 16 \( -clone 0 -resize 16x16 -extent 16x16 \) \( -clone 0 -resize 32x32 -extent 32x32 \) -delete 0 static/favicon.ico
|
||||||
|
}
|
||||||
|
|
||||||
help_generic() {
|
help_generic() {
|
||||||
echo
|
echo
|
||||||
echo "💡 Aide 💡"
|
echo "💡 Aide 💡"
|
||||||
|
@ -85,6 +92,7 @@ help_generic() {
|
||||||
echo "- ./run logs_backup 📥 Sauvegarde les logs"
|
echo "- ./run logs_backup 📥 Sauvegarde les logs"
|
||||||
echo "- ./run logs_restore 📤 Restaure les logs"
|
echo "- ./run logs_restore 📤 Restaure les logs"
|
||||||
echo "- ./run stats 🌠 Mise à jour de GoAccess"
|
echo "- ./run stats 🌠 Mise à jour de GoAccess"
|
||||||
|
echo "- ./run favicons 🔍 Génération des favicons à partir d'une image 512px"
|
||||||
}
|
}
|
||||||
|
|
||||||
end() {
|
end() {
|
||||||
|
|
Loading…
Reference in New Issue