Fixed webapp manifest

Fixes #1306
This commit is contained in:
Igor Zhukov 2017-01-17 15:27:41 +03:00
parent 35fdf3d8f1
commit d6d84bc835
3 changed files with 16 additions and 7 deletions

View File

@ -4,9 +4,6 @@
"version": "0.5.5",
"short_name": "Telegram",
"manifest_version": 2,
"display": "standalone",
"orientation": "portrait",
"theme_color": "#497495",
"app": {
"background": {
"scripts": ["js/background.js"]

View File

@ -1,12 +1,13 @@
{
"name": "Telegram",
"description": "Telegram Web App.\nMore info & source code here: https://github.com/zhukov/webogram",
"version": "0.5.5",
"short_name": "Telegram",
"display": "standalone",
"orientation": "portrait",
"theme_color": "#497495",
"gcm_sender_id": "122867383838",
"start_url": "./?utm_source=web_app_manifest",
"scope": "/",
"background_color": "#fff",
"icons": [
{
"src": "img/icons/icon16.png",
@ -50,8 +51,19 @@
},
{
"src": "img/icons/icon.svg",
"type": "image/svg",
"type": "image/svg+xml",
"sizes": "513x513"
}
],
"related_applications": [
{
"platform": "play",
"id": "org.telegram.messenger",
"url": "https://telegram.org/dl/android?ref=webmanifest"
},
{
"platform": "itunes",
"url": "https://telegram.org/dl/ios?ref=webmanifest"
}
]
}

View File

@ -76,7 +76,7 @@ gulp.task('copy-images', function () {
gulp.task('copy', function () {
return es.concat(
gulp.src(['app/favicon.ico', 'app/favicon_unread.ico', 'app/manifest.webapp', 'app/manifest.json', 'app/**/*worker.js'])
gulp.src(['app/favicon.ico', 'app/favicon_unread.ico', 'app/manifest.webapp', 'app/manifest.webapp.json', 'app/manifest.json', 'app/**/*worker.js'])
.pipe(gulp.dest('dist')),
gulp.src(['app/img/**/*.wav'])
.pipe(gulp.dest('dist/img')),