From aaed4171b0d0d9e7369de9855a324c1460da003d Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sat, 30 Apr 2022 14:37:25 +0200 Subject: [PATCH] Attempt to fix PWA-icon --- index.html | 2 +- manifest.manifest | 26 ---------------- manifest.webmanifest | 71 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+), 27 deletions(-) delete mode 100644 manifest.manifest create mode 100644 manifest.webmanifest diff --git a/index.html b/index.html index 0de9df6b0..a6ea1436f 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,7 @@ MapComplete - + diff --git a/manifest.manifest b/manifest.manifest deleted file mode 100644 index e8fb43d0f..000000000 --- a/manifest.manifest +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "MapComplete", - "short_name": "MapComplete", - "start_url": "index.html", - "display": "standalone", - "background_color": "#fff", - "description": "Easily edit OpenStreetMap", - "orientation": "portrait-primary, landscape-primary", - "icons": [ - { - "src": "./assets/svg/add.svg", - "sizes": "192x192", - "type": "image/svg" - }, - { - "src": "./assets/svg/add.svg", - "sizes": "512x512", - "type": "image/svg" - }, - { - "src": "./assets/svg/add.svg", - "sizes": "513x513", - "type": "image/svg" - } - ] - } \ No newline at end of file diff --git a/manifest.webmanifest b/manifest.webmanifest new file mode 100644 index 000000000..1e577af78 --- /dev/null +++ b/manifest.webmanifest @@ -0,0 +1,71 @@ +{ + "name": "index", + "short_name": "MapComplete", + "start_url": "index.html", + "lang": "en", + "display": "standalone", + "background_color": "#fff", + "description": "A thematic map viewer and editor based on OpenStreetMap", + "orientation": "portrait-primary, landscape-primary", + "icons": [ + { + "src": "assets/generated/images/assets_svg_mapcomplete_logo72.png", + "sizes": "72x72", + "type": "image/png" + }, + { + "src": "assets/generated/images/assets_svg_mapcomplete_logo96.png", + "sizes": "96x96", + "type": "image/png" + }, + { + "src": "assets/generated/images/assets_svg_mapcomplete_logo120.png", + "sizes": "120x120", + "type": "image/png" + }, + { + "src": "assets/generated/images/assets_svg_mapcomplete_logo128.png", + "sizes": "128x128", + "type": "image/png" + }, + { + "src": "assets/generated/images/assets_svg_mapcomplete_logo144.png", + "sizes": "144x144", + "type": "image/png" + }, + { + "src": "assets/generated/images/assets_svg_mapcomplete_logo152.png", + "sizes": "152x152", + "type": "image/png" + }, + { + "src": "assets/generated/images/assets_svg_mapcomplete_logo180.png", + "sizes": "180x180", + "type": "image/png" + }, + { + "src": "assets/generated/images/assets_svg_mapcomplete_logo192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "assets/generated/images/assets_svg_mapcomplete_logo384.png", + "sizes": "384x384", + "type": "image/png" + }, + { + "src": "assets/generated/images/assets_svg_mapcomplete_logo512.png", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "./assets/svg/mapcomplete_logo.svg", + "sizes": "513x513", + "type": "image/svg" + } + ], + "categories": [ + "map", + "navigation" + ] +} \ No newline at end of file