Provide a manifest.webmanifest for the PWA version

This commit is contained in:
Jaifroid 2023-12-03 12:16:03 +00:00
parent c439209fe0
commit f68fa0ba83
4 changed files with 32 additions and 3 deletions

View File

@ -11,8 +11,9 @@ This pre-release version is only published to the browser-extension PWA, and wil
* FEATURE: High-fidelity Zimit archive reading, with fallback to static content for old browsers
* FEATURE: Enabled multi-ZIM support (browsing different ZIMs simultaneously in different browser tabs or windows)
* BUGFIX: Restored ability to scroll the search results with touch or mouse
* FIX: Issue causing a bootloop in rare circumstances when the app is in jQuery mode
* BUGFIX: Issue causing a bootloop in rare circumstances when the app is in jQuery mode
* FIX: Updated some broken links
* DEV: Provided a separate webmanifest for the PWA version
* DEV: Updated info for developers
* DEV: Added a generic version of browserAction in backgroundscript to support MV3 extensions
* DEV: Fixed some anomalies in tests

View File

@ -1,9 +1,10 @@
{
"manifest_version": 3,
"name": "Kiwix",
"name": "Kiwix JS Browser Extension",
"short_name": "Kiwix JS",
"version": "3.11.5",
"description": "Kiwix Offline Browser",
"description": "Kiwix is an offline reader for content from Wikipedia, Project Gutenberg, TED Talks, Wikivoyage, Stackexchange, and many other Web archives. It makes knowledge available to people with limited or no Internet access.",
"icons": {
"16": "www/img/icons/kiwix-16.png",

26
manifest.webmanifest Normal file
View File

@ -0,0 +1,26 @@
{
"name": "Kiwix JS Browser Extension",
"short_name": "Kiwix JS",
"categories": ["reference", "books", "education"],
"start_url": ".",
"description": "Kiwix is an offline reader for content from Wikipedia, Project Gutenberg, TED Talks, Wikivoyage, Stackexchange, and many other Web archives. It makes knowledge available to people with limited or no Internet access.",
"lang": "en-GB",
"background_color": "#000",
"icons": [
{
"src": "www/img/icons/kiwix-32.png",
"sizes": "32x32",
"type": "image/png"
},
{
"src": "www/img/icons/kiwix-60.png",
"sizes": "60x60",
"type": "image/ico"
},
{
"src": "www/img/icons/kiwix-256.png",
"sizes": "256x256",
"type": "image/png"
}
]
}

View File

@ -38,6 +38,7 @@
-->
<!-- Bootstrap -->
<link rel="manifest" href="../manifest.webmanifest" />
<link href="../node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" media="screen"/>
<!-- Local app.css must be loaded after boostrap.css so that any local style overrides work -->
<link rel="stylesheet" href="css/app.css"/>