1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

Update application icon with different sizes

This commit is contained in:
Frédéric Guillot 2018-07-18 21:30:54 -07:00
parent d10312fe15
commit c1ab27172c
19 changed files with 50 additions and 27 deletions

View file

@ -35,8 +35,9 @@ func (c *Controller) WebManifest(w http.ResponseWriter, r *http.Request) {
Display: "minimal-ui",
StartURL: route.Path(c.router, "unread"),
Icons: []webManifestIcon{
webManifestIcon{Source: route.Path(c.router, "appIcon", "filename", "touch-icon-ipad-retina.png"), Sizes: "144x144", Type: "image/png"},
webManifestIcon{Source: route.Path(c.router, "appIcon", "filename", "touch-icon-iphone-retina.png"), Sizes: "114x114", Type: "image/png"},
webManifestIcon{Source: route.Path(c.router, "appIcon", "filename", "icon-120.png"), Sizes: "120x120", Type: "image/png"},
webManifestIcon{Source: route.Path(c.router, "appIcon", "filename", "icon-192.png"), Sizes: "192x192", Type: "image/png"},
webManifestIcon{Source: route.Path(c.router, "appIcon", "filename", "icon-512.png"), Sizes: "512x512", Type: "image/png"},
},
}