From fa91e778ac9f626232f7e1a3681f05cece95855d Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Thu, 27 May 2021 17:49:20 +0100 Subject: [PATCH] Bump to 1.3.3-RC1 for test server Former-commit-id: 4819d0c0c2b9d2d40d355bdea6f1f4afef838964 [formerly 42c3a7c24f44aabf9028fad0d732a0ebbb6fed32] [formerly 8e189642c8867b73df028f7f4f0ceab702a192a1] [formerly 7bce6f5e8f4d3fc4dd0f7645ec994bcd82fdeb49 [formerly e5d75625e3b718507a7df523fef577b39d717ac7 [formerly d33ec2793604b39e271de09caec535b8200a020b]]] Former-commit-id: d18b95caaac109d7a7dbd3da4e259682a2bc8083 [formerly 56f61eed81f79c4c254f970882727b4fc9ea58b3 [formerly 2c5e5bdf922c4408bce84561e91681b08c0e1b40]] Former-commit-id: 2aaa4b410cfa90e7b7ad08f403c6066b115b2f72 [formerly a881f1c84af917b5206675936e07b924a180089c] Former-commit-id: 6de27950036a9b131c63ed73d2267054c809523f --- pwabuilder-sw.js | 2 +- www/js/init.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pwabuilder-sw.js b/pwabuilder-sw.js index 83d4a670..0eec5ff9 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.3.2'; +const appVersion = '1.3.3-RC1'; // 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 5400243c..68e2bc7e 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -48,9 +48,9 @@ var params = {}; * @type Object */ var appstate = {}; -/******** UPDATE VERSION IN pwabuilder-sw.js TO MATCH VERSION *******/ -params['version'] = "1.3.2"; //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!! ********************/ +/******** UPDATE VERSION IN pwabuilder-sw.js TO MATCH VERSION AND CHECK PWASERVER BELOW!!!!!!! *******/ +params['version'] = "1.3.3-RC1"; //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 service worker AND PWA-SERVER BELOW !! ********************/ params['packagedFile'] = getSetting('packagedFile') || "wikipedia_en_100_maxi_2021-04.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) params['fileVersion'] = getSetting('fileVersion') || "wikipedia_en_100_maxi_2021-04.zim (26-Apr-2021)"; //This will be displayed in the app - optionally include date of ZIM file