From efa6e39b937f66545c90b4138f11069148a4094e Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Sun, 20 Dec 2015 14:51:40 +0100 Subject: [PATCH] Chrome WebApp now loads manifest --- index.html | 4 +++- webapp.manifest.json | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 webapp.manifest.json diff --git a/index.html b/index.html index bbbef49..74fbb4b 100644 --- a/index.html +++ b/index.html @@ -8,8 +8,10 @@ - + + + diff --git a/webapp.manifest.json b/webapp.manifest.json new file mode 100644 index 0000000..8367491 --- /dev/null +++ b/webapp.manifest.json @@ -0,0 +1,33 @@ +{ + "lang": "en-US", + "name": "Glowing Bear", + "short_name": "Glowing Bear", + "icons": [{ + "src": "assets/img/glowing_bear_60x60.png", + "sizes": "60x60", + "type": "image/webapp" + }, { + "src": "assets/img/glowing_bear_90x90.png", + "sizes": "90x90" + }, { + "src": "assets/img/glowing_bear_128x128.png", + "sizes": "128x128" + }], + "splash_screens": [{ + "src": "assets/img/glowing_bear_128x128.png", + "sizes": "128x128" + }], + "scope": "/glowing-bear/", + "start_url": "/glowing-bear/index.html", + "display": "standalone", + "orientation": "portrait-primary", + "theme_color": "#181818", + "background_color": "#333", + "prefer_related_applications": "false", + "chrome_related_applications": [{ + "platform": "web" + }, { + "platform": "android", + "location": "https://play.google.com/store/apps/details?id=com.glowing_bear" + }] +}