From 0048e03a67655d025a48e95ec66fbfb53394ba92 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Tue, 19 Apr 2022 19:27:38 +0100 Subject: [PATCH] Bump app version Former-commit-id: eec743865f1b0c2703669f3141f3ab49c047d99d [formerly fe2c7400789be2991c5ff582b02364581714fe01] [formerly 99d4cc24faf8ac5147c3d6b625f6bf765a0b886d] [formerly 6e6194dad7307cce6779f20bf90f93bf25bbc870 [formerly 927202ac10c1634e888325d24989fc4cf7a9fdcf [formerly 8f47fa155008142763d198d08492048c25f3c193]]] Former-commit-id: 5f155892ad93067ef0e2147469f4fb1a9330820d [formerly 947ee70e279472ee06ffebe1da04cecdc6eb2156 [formerly 0046325f2ff259be7fd0be1906adb2852ad1b5f1]] Former-commit-id: 86462fafb6039898533916665f936cd81c1fa75e [formerly cad82442283661eaadcfbcd5895c481ca9d44563] Former-commit-id: 41073252ea4a41a02f521c06bd282e7e5fe5edc8 --- package.json | 3 ++- service-worker.js | 2 +- www/js/init.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 1c021aac..3414f813 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "kiwix-js-electron", "productName": "Kiwix JS Electron", - "version": "1.9.6-E", + "version": "1.9.7-E", "description": "Kiwix JS packaged for the Electron framework", "main": "main.js", "build": { @@ -105,3 +105,4 @@ "electron-updater": "^5.0.2" } } + diff --git a/service-worker.js b/service-worker.js index 567c06ea..c00a44b2 100644 --- a/service-worker.js +++ b/service-worker.js @@ -29,7 +29,7 @@ * download and install a new copy; we have to hard code this here because it is needed before any other file * is cached in APP_CACHE */ -const appVersion = '1.9.6'; +const appVersion = '1.9.7'; /** * The name of the Cache API cache in which assets defined in regexpCachedContentTypes will be stored diff --git a/www/js/init.js b/www/js/init.js index e1bd0c5a..501418ad 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -50,7 +50,7 @@ var params = {}; */ var appstate = {}; /******** UPDATE VERSION IN service-worker.js TO MATCH VERSION AND CHECK PWASERVER BELOW!!!!!!! *******/ -params['appVersion'] = "1.9.6"; //DEV: Manually update this version when there is a new release: it is compared to the Settings Store "appVersion" in order to show first-time info, and the cookie is updated in app.js +params['appVersion'] = "1.9.7"; //DEV: Manually update this version when there is a new release: it is compared to the Settings Store "appVersion" 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_climate_change_mini_2022-03.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)