From b425b2943a66949d02499593c1d2f65c1bced0f8 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Sat, 23 Jan 2021 11:28:23 +0000 Subject: [PATCH] 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 --- pwabuilder-sw.js | 2 +- www/js/init.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pwabuilder-sw.js b/pwabuilder-sw.js index d44f29b7..32dfb29c 100644 --- a/pwabuilder-sw.js +++ b/pwabuilder-sw.js @@ -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 diff --git a/www/js/init.js b/www/js/init.js index c59c337c..e31a44bd 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -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)