Add PWA shortcuts
This commit is contained in:
parent
76eec47071
commit
668d743ede
|
@ -31,7 +31,7 @@ export default defineConfig(({ mode }) => ({
|
||||||
},
|
},
|
||||||
manifest: {
|
manifest: {
|
||||||
name: 'Funkwhale',
|
name: 'Funkwhale',
|
||||||
categories: ["music", "entertainment"],
|
categories: ['music', 'entertainment'],
|
||||||
start_url: undefined,
|
start_url: undefined,
|
||||||
scope: undefined,
|
scope: undefined,
|
||||||
short_name: 'Funkwhale',
|
short_name: 'Funkwhale',
|
||||||
|
@ -48,16 +48,34 @@ export default defineConfig(({ mode }) => ({
|
||||||
type: 'image/png'
|
type: 'image/png'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
prefer_related_applications: true,
|
||||||
related_applications: [
|
related_applications: [
|
||||||
{
|
{
|
||||||
"platform": "play",
|
platform: 'play',
|
||||||
"url": "https://play.google.com/store/apps/details?id=audio.funkwhale.ffa",
|
url: 'https://play.google.com/store/apps/details?id=audio.funkwhale.ffa',
|
||||||
"id": "audio.funkwhale.ffa"
|
id: 'audio.funkwhale.ffa'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"platform": "f-droid",
|
platform: 'f-droid',
|
||||||
"url": "https://f-droid.org/en/packages/audio.funkwhale.ffa/",
|
url: 'https://f-droid.org/en/packages/audio.funkwhale.ffa/',
|
||||||
"id": "audio.funkwhale.ffa"
|
id: 'audio.funkwhale.ffa'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
shortcuts: [
|
||||||
|
{
|
||||||
|
name: 'Search',
|
||||||
|
url: '/search',
|
||||||
|
icons: []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Library',
|
||||||
|
url: '/library',
|
||||||
|
icons: []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Channels',
|
||||||
|
url: '/subscriptions',
|
||||||
|
icons: []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue