Forráskód Böngészése

better manifest json

Heydon Pickering 8 éve
szülő
commit
6c1149352d
3 módosított fájl, 14 hozzáadás és 4 törlés
  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 különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 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"
 }

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott