pl-fe: extend app manifest

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-09-12 11:45:37 +02:00
parent d62e11a1dc
commit a88b8711e9
5 changed files with 49 additions and 1 deletions

View File

@ -4,4 +4,4 @@
"keywords": ["fediverse"],
"website": "https://github.com/mkljczk/pl-fe",
"stack": "container"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -68,6 +68,54 @@ const config = defineConfig(({ command }) => ({
name: 'pl-fe',
short_name: 'pl-fe',
description: 'Web-based federated social media client, a fork of Soapbox',
display: 'standalone',
display_override: [
'window-controls-overlay',
],
theme_color: '#d80482',
categories: ['social'],
share_target: {
params: {
title: 'title',
text: 'text',
url: 'url',
},
action: 'share',
method: 'GET',
},
shortcuts: [
{
name: 'Search',
url: '/search',
icons: [
{
src: '/instance/images/shortcuts/search.png',
sizes: '192x192',
},
],
},
{
name: 'Notifications',
url: '/notifications',
icons: [
{
src: '/instance/images/shortcuts/notifications.png',
sizes: '192x192',
},
],
},
{
name: 'Chats',
url: '/chats',
icons: [
{
src: '/instance/images/shortcuts/chats.png',
sizes: '192x192',
},
],
},
],
start_url: '/',
},
srcDir: 'src/service-worker',
filename: 'sw.ts',