Skip to content

Commit

Permalink
Provide a manifest.webmanifest for the PWA version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaifroid committed Dec 3, 2023
1 parent c439209 commit f68fa0b
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
26 changes: 26 additions & 0 deletions manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
1 change: 1 addition & 0 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down

0 comments on commit f68fa0b

Please sign in to comment.