feat: add KaiOS manifest file (#1528)
This commit is contained in:
parent
1bbe2a5612
commit
3a2fe740c1
|
@ -19,6 +19,7 @@ const assets = __assets__
|
||||||
.filter(filename => !filename.endsWith('.map'))
|
.filter(filename => !filename.endsWith('.map'))
|
||||||
.filter(filename => filename !== '/robots.txt')
|
.filter(filename => filename !== '/robots.txt')
|
||||||
.filter(filename => !filename.includes('traineddata.gz')) // Tesseract already caches it in IDB
|
.filter(filename => !filename.includes('traineddata.gz')) // Tesseract already caches it in IDB
|
||||||
|
.filter(filename => !filename.endsWith('.webapp')) // KaiOS manifest
|
||||||
|
|
||||||
// `shell` is an array of all the files generated by webpack
|
// `shell` is an array of all the files generated by webpack
|
||||||
// also contains '/index.html' for some reason
|
// also contains '/index.html' for some reason
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
"version": "1.0.0",
|
||||||
|
"name": "Pinafore",
|
||||||
|
"description": "Mastodon client",
|
||||||
|
"type": "web",
|
||||||
|
"launch_path": "/",
|
||||||
|
"icons": {
|
||||||
|
"48": "/icon-48.png",
|
||||||
|
"72": "/icon-72.png",
|
||||||
|
"96": "/icon-96.png"
|
||||||
|
},
|
||||||
|
"developer": {
|
||||||
|
"name": "Nolan Lawson",
|
||||||
|
"url": "https://nolanlawson.com"
|
||||||
|
},
|
||||||
|
"locales": {
|
||||||
|
"en-US": {
|
||||||
|
"name": "Pinafore",
|
||||||
|
"subtitle": "Mastodon client",
|
||||||
|
"description": "Mastodon client, focused on speed and simplicity."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"default_locale": "en-US",
|
||||||
|
"permissions": {
|
||||||
|
"serviceworker": {
|
||||||
|
"description": "Needed for offline storage and notifications."
|
||||||
|
},
|
||||||
|
"desktop-notification": {
|
||||||
|
"description": "Needed for notifications."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"messages": [
|
||||||
|
{
|
||||||
|
"serviceworker-notification": "/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue