From c8e6bfecc9aef630722db07ab675e23ae28cceb6 Mon Sep 17 00:00:00 2001
From: Benoit Lavenier <benoit.lavenier@e-is.pro>
Date: Tue, 2 Jan 2024 12:10:09 +0100
Subject: [PATCH] fix(manifest): Migrate to Manifest v3

---
 www/manifest.json | 51 +++++++++++++++++++----------------------------
 1 file changed, 21 insertions(+), 30 deletions(-)

diff --git a/www/manifest.json b/www/manifest.json
index 09e68820..dcbdcd4c 100644
--- a/www/manifest.json
+++ b/www/manifest.json
@@ -1,46 +1,37 @@
 {
-  "short_name": "Cesium",
+  "manifest_version": 3,
   "name": "Cesium",
-  "manifest_version": 1,
   "version": "1.7.11",
   "default_locale": "fr",
   "description": "Cesium Wallet for Äž1 libre currency",
-  "icons": [
-    {
-      "src": "img/logo_32px.png",
-      "sizes": "32x32",
-      "type": "image/png"
-    },
-    {
-      "src": "img/logo_96px.png",
-      "sizes": "96x96",
-      "type": "image/png"
-    },
-    {
-      "src": "img/logo_144px.png",
-      "sizes": "144x144",
-      "type": "image/png"
-    },
-    {
-      "src": "img/logo.svg",
-      "sizes": "192x192",
-      "type": "image/svg"
-    }
+  "icons": {
+    "32": "img/logo_32px.png",
+    "96": "img/logo_96px.png",
+    "144": "img/logo_144px.png",
+    "192": "img/logo.svg"
+  },
+  "permissions": [
+    "storage"
   ],
-  "background_color": "#1a237e",
-  "theme_color": "black",
-  "dir": "ltr",
-  "start_url": "/#/app/home",
-  "display": "standalone",
+  "host_permissions": [
+    "file:///*"
+  ],
+  "theme": {
+    "colors": {
+      "frame": "#1a237e",
+      "toolbar": "#1a237e",
+      "ntp_background": "#1a237e",
+      "ntp_text": "#1a237e",
+      "button_background": "#1a237e"
+    }
+  },
   "protocol_handlers": [
     {
       "protocol": "june",
-      "name": "Cesium",
       "uriTemplate": "/#/app/home?uri=%s"
     },
     {
       "protocol": "web+june",
-      "name": "Cesium",
       "uriTemplate": "/#/app/home?uri=%s"
     }
   ]
-- 
GitLab