From dff021597518ac29dfc71103c69e46d1679abe62 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Thu, 3 Mar 2022 18:47:28 +0000 Subject: [PATCH] Reset version Former-commit-id: 4b677418437b921ecdb483a6e292e692849a2ec5 [formerly e0b24165f9efa1d4be8a6f3c808ae9e1742d448c] [formerly 6d45b36512c07508eaa67ce3b99b584419c0a30e] [formerly 4d6cda7ecba6c4cf801f465c94ad0d923f25e424 [formerly 40a3a5809db643623aeae81b4e3ef19cefbcbc12 [formerly 17551ffd0e42c4e7146635e282781d3bbccc0e19]]] Former-commit-id: 3009a76d5fd0540dcbe37d361fc2670605b80d08 [formerly 26d6bb77e05533055c8cb6d1b96304d1862d0415 [formerly 43341834ada1b5a7bf0cbd2f02ce26ee2d3799fc]] Former-commit-id: 63138e9236b8248c05fa727c4b16176dab81158a [formerly e5c85e74534d0ae5d35d7d4989aef8781d8fe619] Former-commit-id: db8967f91aa140d2e70649e6fff41ccd9ab80f19 --- package.json | 5 +++-- service-worker.js | 2 +- www/js/init.js | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 641b485f..7d102537 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "kiwix-js-electron", "productName": "Kiwix JS Electron", - "version": "1.9.4-E", + "version": "1.9.3-E", "description": "Kiwix JS packaged for the Electron framework", "main": "main.js", "build": { @@ -104,4 +104,5 @@ "electron-context-menu": "^3.1.1", "electron-updater": "^4.6.5" } -} \ No newline at end of file +} + diff --git a/service-worker.js b/service-worker.js index c60a0008..681aa01b 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.4'; +const appVersion = '1.9.3'; /** * 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 4fdbacc5..8b4e6317 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.4"; //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.3"; //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-02.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)