aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNiTRoeSE <michael.schunk@medialyse-photography.de>2020-01-29 03:03:39 +0100
committerGitHub <noreply@github.com>2020-01-28 21:03:39 -0500
commitdb42a15fa01b27fce2ff792fa26365edeae1894d (patch)
treece984cc978e7ba94a6a008130f7a60f4fa4ba120 /Makefile
parentc01221e70fc71f5bcff5f699095fbcbfc1e2b4a3 (diff)
downloadgitea-db42a15fa01b27fce2ff792fa26365edeae1894d.tar.gz
gitea-db42a15fa01b27fce2ff792fa26365edeae1894d.zip
add touch-icon with background (#10022)
* add touch-icon with background ...to prevent ugly glitch while minimize app to homescreen * add / generate apple-touch-icon * run make command Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e02da3e893..882c8c5ba4 100644
--- a/Makefile
+++ b/Makefile
@@ -545,6 +545,8 @@ generate-images:
convert $(TMPDIR)/images/16.png $(TMPDIR)/images/32.png \
$(TMPDIR)/images/64.png $(TMPDIR)/images/128.png \
$(PWD)/public/img/favicon.ico
+ convert $(PWD)/public/img/favicon.png -fill white -opaque none $(PWD)/public/img/apple-touch-icon.png
+
rm -rf $(TMPDIR)/images
$(foreach file, $(shell find public/img -type f -name '*.png'),zopflipng -m -y $(file) $(file);)