From 2acf8f8670a4954c460d084dd3c45c39b8d005b1 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Tue, 12 Jan 2021 19:01:38 +0000 Subject: [PATCH] Test update mechanism Former-commit-id: 5ba6d277f8a5ff82961ee46bc6e4859658a59f47 [formerly 0c852b67be39b8ea0f511a17b4c6f56f3aa64359 [formerly 53aa820683f567646ee5d22a0f70691d4abee103]] Former-commit-id: c76113724b1be1236be93b89db688fc3f76ce1f8 Former-commit-id: cdf49711d4cebfa8e5235470edecff5a35d25e1a --- 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 0d564837..8484ed01 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-RP3'; +const appVersion = '1.1.4-RP4'; // 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 be62e9da..36d0fa55 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-RP3"; //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-RP4"; //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)