mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 15:45:55 +08:00
Web app manifest
This commit is contained in:
parent
739ed215ea
commit
eccacadc48
|
@ -295,7 +295,8 @@ class Service
|
|||
'{{BaseViewport}}' => $bMobile ? 'width=device-width,initial-scale=1,user-scalable=no' : 'width=950,maximum-scale=2',
|
||||
'{{BaseContentSecurityPolicy}}' => $sContentSecurityPolicy ?
|
||||
'<meta http-equiv="Content-Security-Policy" content="'.$sContentSecurityPolicy.'" />' : '',
|
||||
'{{BaseDir}}' => false && \in_array($sLanguage, array('ar', 'he', 'ur')) ? 'rtl' : 'ltr'
|
||||
'{{BaseDir}}' => false && \in_array($sLanguage, array('ar', 'he', 'ur')) ? 'rtl' : 'ltr',
|
||||
'{{BaseAppManifestLink}}' => $this->staticPath('manifest.json')
|
||||
);
|
||||
|
||||
$aTemplateParameters['{{RainloopBootData}}'] = \json_encode(array(
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
{{BaseAppFaviconTouchLinkTag}}
|
||||
<link type="text/css" rel="stylesheet" href="{{BaseAppMainCssLink}}" />
|
||||
<link type="text/css" rel="stylesheet" href="{{BaseAppThemeCssLink}}" id="app-theme-link" />
|
||||
<link rel="manifest" href="{{BaseAppManifestLink}}" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="rl-app"></div>
|
||||
|
|
BIN
rainloop/v/0.0.0/static/android-icon.png
Normal file
BIN
rainloop/v/0.0.0/static/android-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
16
rainloop/v/0.0.0/static/manifest.json
Normal file
16
rainloop/v/0.0.0/static/manifest.json
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"name": "RainLoop Webmail",
|
||||
"short_name": "RainLoop",
|
||||
"description": "Simple, modern & fast web-based email client",
|
||||
"display": "standalone",
|
||||
"icons": [{
|
||||
"src": "apple-touch-icon.png",
|
||||
"sizes": "64x64",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "android-icon.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
}],
|
||||
"start_url": "../../../../"
|
||||
}
|
Loading…
Reference in a new issue