mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-17 11:59:30 +00:00
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>
This commit is contained in:
parent
c01221e70f
commit
db42a15fa0
3 changed files with 3 additions and 1 deletions
2
Makefile
2
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);)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue