Test update code

Former-commit-id: d5ded17c9b9b3f166afcb0793f6ca95421a0b3cf [formerly 3d43c0c4cb9bf3af8d0588fd3a94b96b735c952a] [formerly 795f0c5a8b3a6261405da2bd6c512244caa27564] [formerly 04ab470e916da45eb14addfcc8914cda7be5e10d [formerly 01e7fa9a7828626590d32d5e1748c89a90689a09 [formerly e44364573070ecd5b536b3f5e4aea85f7f6fc057]]]
Former-commit-id: 3512fdfd50d06ab3341f67336b2a4bf7c83c8fca [formerly c37c1b15aeed885b81e6a2864544bad5a5d917bf [formerly 981d5b3bf17723ea26522932136fd1e2d780443c]]
Former-commit-id: 93b100cb9d0834db03299cd7af86bbde45f44776 [formerly 8f50c36321c19c36d3850d57ed5fd7b50cfc779f]
Former-commit-id: 4b2ae39409e93c3a5a5e8abdf45962176257504b
This commit is contained in:
Jaifroid 2021-01-23 11:28:23 +00:00
parent 06dea7a4bb
commit b425b2943a
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
// App version number - ENSURE IT MATCHES VALUE IN init.js
// DEV: Changing this will cause the browser to recognize that the Service Worker has changed, and it will download and
// install a new copy
const appVersion = '1.1.4-RP10';
const appVersion = '1.1.4-RP11';
// Kiwix ZIM Archive Download Server in regex form
// DEV: The server URL is defined in init.js, but is not available to us in SW

View File

@ -49,7 +49,7 @@ var params = {};
*/
var appstate = {};
/******** UPDATE VERSION IN pwabuilder-sw.js TO MATCH VERSION *******/
params['version'] = "1.1.4-RP10"; //DEV: Manually update this version when there is a new release: it is compared to the Settings Store "version" in order to show first-time info, and the cookie is updated in app.js
params['version'] = "1.1.4-RP11"; //DEV: Manually update this version when there is a new release: it is compared to the Settings Store "version" in order to show first-time info, and the cookie is updated in app.js
/******* UPDATE THIS ^^^^^^ IN serveice worker!! ********************/
params['packagedFile'] = "wikipedia_en_100_maxi.zim"; //For packaged Kiwix JS (e.g. with Wikivoyage file), set this to the filename (for split files, give the first chunk *.zimaa) and place file(s) in default storage
params['archivePath'] = "archives"; //The directory containing the packaged archive(s) (relative to app's root directory)