fixed pwa installing issue
This commit is contained in:
@@ -15,8 +15,12 @@ $config = array_merge([
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
|
||||||
<title><?= htmlspecialchars($config['title']) ?></title>
|
<title><?= htmlspecialchars($config['title']) ?></title>
|
||||||
<link rel="shortcut icon" href="/assets/images/favicon.ico">
|
<link rel="shortcut icon" href="/assets/images/favicon.ico">
|
||||||
|
<link rel="apple-touch-icon" href="/assets/images/xinon-sm-192.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="192x192" href="/assets/images/xinon-sm-192.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="512x512" href="/assets/images/xinon-sm-512.png">
|
||||||
<link rel="manifest" href="<?= htmlspecialchars($config['manifestPath']) ?>">
|
<link rel="manifest" href="<?= htmlspecialchars($config['manifestPath']) ?>">
|
||||||
<meta name="theme-color" content="#005384">
|
<meta name="theme-color" content="#005384">
|
||||||
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<meta name="apple-mobile-web-app-title" content="<?= htmlspecialchars($config['appName']) ?>">
|
<meta name="apple-mobile-web-app-title" content="<?= htmlspecialchars($config['appName']) ?>">
|
||||||
|
|||||||
@@ -10,16 +10,28 @@
|
|||||||
"theme_color": "#005384",
|
"theme_color": "#005384",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/assets/images/xinon-sm.png",
|
"src": "/assets/images/xinon-sm-192.png",
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "any maskable"
|
"purpose": "any"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/assets/images/xinon-sm.png",
|
"src": "/assets/images/xinon-sm-192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image/png",
|
||||||
|
"purpose": "maskable"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/assets/images/xinon-sm-512.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "any maskable"
|
"purpose": "any"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/assets/images/xinon-sm-512.png",
|
||||||
|
"sizes": "512x512",
|
||||||
|
"type": "image/png",
|
||||||
|
"purpose": "maskable"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"categories": ["business", "productivity"]
|
"categories": ["business", "productivity"]
|
||||||
|
|||||||
Reference in New Issue
Block a user