From e7797e4f580b2bc420cab03ebe8ab19a57b5f8fc Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Sat, 30 Jan 2021 08:49:00 +0000 Subject: [PATCH] Update code to 1.2.0-RP1 Former-commit-id: 63052a4ffef4729c8365750dc9619a70084f9d02 [formerly 151eba0a9cbf5c8df51f5a74b4eda6ddb2b0ae75 [formerly 7ad6832bf52e8559079085f4f0edbc000655e8e3]] Former-commit-id: 91c9b211321430b31da2ca4f18159e95e36e9bdb Former-commit-id: 4bc3ce1f69c0a34cba982a66ce16611619a075cb --- 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 8127654a..790bda95 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'; +const appVersion = '1.2.0-RP1'; // 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 85c1c8ac..32f11dcb 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"; //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.2.0-RP1"; //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)