PWA: Chrome detection fixes

This commit is contained in:
Cadey Ratio 2019-02-03 06:33:15 -08:00
parent 2980831180
commit bfb5327e33
4 changed files with 57 additions and 57 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.asar *.asar
cw.tar cw.tar
.env .env
.DS_Store

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

View File

@ -1,41 +0,0 @@
{
"name": "App",
"icons": [
{
"src": "\/android-icon-36x36.png",
"sizes": "36x36",
"type": "image\/png",
"density": "0.75"
},
{
"src": "\/android-icon-48x48.png",
"sizes": "48x48",
"type": "image\/png",
"density": "1.0"
},
{
"src": "\/android-icon-72x72.png",
"sizes": "72x72",
"type": "image\/png",
"density": "1.5"
},
{
"src": "\/android-icon-96x96.png",
"sizes": "96x96",
"type": "image\/png",
"density": "2.0"
},
{
"src": "\/android-icon-144x144.png",
"sizes": "144x144",
"type": "image\/png",
"density": "3.0"
},
{
"src": "\/android-icon-192x192.png",
"sizes": "192x192",
"type": "image\/png",
"density": "4.0"
}
]
}

View File

@ -10,8 +10,48 @@
"orientation": "any", "orientation": "any",
"icons": [ "icons": [
{ {
"src": "https://christine.website/static/img/avatar.png", "src": "/static/img/avatar.png",
"sizes": "1024x1024" "sizes": "1024x1024"
} },
{
"src": "/static/favicon/android-icon-36x36.png",
"sizes": "36x36",
"type": "image/png",
"density": "0.75"
},
{
"src": "/static/favicon/android-icon-48x48.png",
"sizes": "48x48",
"type": "image/png",
"density": "1.0"
},
{
"src": "/static/favicon/android-icon-72x72.png",
"sizes": "72x72",
"type": "image/png",
"density": "1.5"
},
{
"src": "/static/favicon/android-icon-96x96.png",
"sizes": "96x96",
"type": "image/png",
"density": "2.0"
},
{
"src": "/static/favicon/android-icon-144x144.png",
"sizes": "144x144",
"type": "image/png",
"density": "3.0"
},
{
"src": "/static/favicon/android-icon-192x192.png",
"sizes": "192x192",
"type": "image/png",
"density": "4.0"
},
{
"src": "/static/favicon/android-launchericon-512-512.png",
"sizes": "512x512"
},
] ]
} }