From 2fb757fda928ebbe36acf505f20d39029302b973 Mon Sep 17 00:00:00 2001 From: Mel Date: Tue, 10 Dec 2024 02:05:59 +0100 Subject: [PATCH] bring in newer web manifest created by @ragekit in #919 Signed-off-by: Mel --- internal/view/assets/res/manifest.json | 63 ++++++++++++++++---------- 1 file changed, 38 insertions(+), 25 deletions(-) diff --git a/internal/view/assets/res/manifest.json b/internal/view/assets/res/manifest.json index f36c452d6..0cfc6184a 100644 --- a/internal/view/assets/res/manifest.json +++ b/internal/view/assets/res/manifest.json @@ -1,26 +1,39 @@ { - "start_url": "/", - "short_name": "Shiori", - "background_color": "", - "url": "/", - "lang": "English", - "name": "Shiori", - "display": "standalone", - "orientation": "any", - "share_target": { - "action": "/share-target/", - "method": "GET", - "params": { - "title": "title", - "text": "text", - "url": "url" - } - }, - "icons": [ - { - "src": "/assets/res/apple-touch-icon-512x512.png", - "sizes": "512x512", - "type": "image/png" - } - ] -} + "name": "Shiori", + "short_name": "Shiori", + "description": "Shiori is a simple bookmarks manager written in the Go language. Intended as a simple clone of Pocket. You can use it as a command line application or as a web application. This application is distributed as a single binary, which means it can be installed and used easily.", + "display": "standalone", + "start_url": "/", + "lang": "en", + "background_color": "#f44336", + "theme_color": "#f44336", + "icons": [ + { + "src": "/assets/res/apple-touch-icon-144x144.png", + "type": "image/png", + "sizes": "144x144" + }, + { + "src": "/assets/res/apple-touch-icon-152x152.png", + "type": "image/png", + "sizes": "152x152", + "purpose": "maskable" + }, + { + "src": "/assets/res/apple-touch-icon-512x512.png", + "type": "image/png", + "sizes": "512x512", + "purpose": "any" + } + ], + "share_target": { + "action": "/api/v1/pwa/share-target", + "method": "POST", + "enctype": "multipart/form-data", + "params": { + "title": "title", + "text": "text", + "url": "url" + } + } +} \ No newline at end of file