Explorar o código

better manifest json

Heydon Pickering %!s(int64=8) %!d(string=hai) anos
pai
achega
6c1149352d
Modificáronse 3 ficheiros con 14 adicións e 4 borrados
  1. 7 2
      docs/manifest.json
  2. 0 0
      docs/service-worker.js
  3. 7 2
      themes/infusion/static/manifest.json

+ 7 - 2
docs/manifest.json

@@ -1,5 +1,6 @@
 {
- "name": "App",
+ "name": "Infusion Pattern Library",
+ "short_name": "Infusion",
  "icons": [
   {
    "src": "\/images/android-icon-36x36.png",
@@ -37,5 +38,9 @@
    "type": "image\/png",
    "density": "4.0"
   }
- ]
+],
+  "start_url": "index.html",
+  "display": "standalone",
+  "background_color": "#111",
+  "theme_color": "#fff"
 }

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
docs/service-worker.js


+ 7 - 2
themes/infusion/static/manifest.json

@@ -1,5 +1,6 @@
 {
- "name": "App",
+ "name": "Infusion Pattern Library",
+ "short_name": "Infusion",
  "icons": [
   {
    "src": "\/images/android-icon-36x36.png",
@@ -37,5 +38,9 @@
    "type": "image\/png",
    "density": "4.0"
   }
- ]
+],
+  "start_url": "index.html",
+  "display": "standalone",
+  "background_color": "#111",
+  "theme_color": "#fff"
 }

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio