From 12cb02d6a49d5071a114b9a508d1701e0a63d1b7 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Tue, 26 Aug 2025 18:08:49 +0100 Subject: [PATCH] Bump app version --- package-github.appxmanifest | 2 +- package-lock.json | 4 ++-- package.appxmanifest | 2 +- package.json | 2 +- package.json.nwjs | 2 +- scripts/Build-NWJS.ps1 | 2 +- service-worker.js | 2 +- www/js/init.js | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-github.appxmanifest b/package-github.appxmanifest index c6c5cad4..f5dd8d3a 100644 --- a/package-github.appxmanifest +++ b/package-github.appxmanifest @@ -1,6 +1,6 @@  - + Kiwix JS diff --git a/package-lock.json b/package-lock.json index 8156d7ab..8d3d6740 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "kiwix-js-electron", - "version": "3.7.12-E", + "version": "3.7.14-E", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "kiwix-js-electron", - "version": "3.7.12-E", + "version": "3.7.14-E", "license": "CC0-1.0", "dependencies": { "@types/fs-extra": "^9.0.11", diff --git a/package.appxmanifest b/package.appxmanifest index 7d58e75d..74faf9ca 100644 --- a/package.appxmanifest +++ b/package.appxmanifest @@ -1,6 +1,6 @@  - + Kiwix JS diff --git a/package.json b/package.json index e152724c..ec910d42 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "kiwix-js-electron", "productName": "Kiwix JS Electron", - "version": "3.7.12-E", + "version": "3.7.14-E", "description": "Kiwix JS offline ZIM archive reader packaged for the Electron framework", "main": "main.cjs", "type": "module", diff --git a/package.json.nwjs b/package.json.nwjs index 7edb6a98..29b71d60 100644 --- a/package.json.nwjs +++ b/package.json.nwjs @@ -1,7 +1,7 @@ { "name": "kiwix_js_windows", "productName": "Kiwix JS Windows", - "version": "3.7.12-N", + "version": "3.7.14-N", "description": "Kiwix JS Windows for NWJS", "main": "index.html", "domain": "kiwix.js.windows", diff --git a/scripts/Build-NWJS.ps1 b/scripts/Build-NWJS.ps1 index 3bac3384..2a267221 100644 --- a/scripts/Build-NWJS.ps1 +++ b/scripts/Build-NWJS.ps1 @@ -12,7 +12,7 @@ if (-Not $only32bit) { } $version10 = "0.87.0" # <<< value updated automatically from package.json if launched from Create-DraftRelease $versionXP = "0.14.7" -$appBuild = "3.7.12-N" # <<< value updated auotmatically from package.json if launched from Create-DraftRelease +$appBuild = "3.7.14-N" # <<< value updated auotmatically from package.json if launched from Create-DraftRelease # Check that the dev has included the correct archive in this branch $init_params = Get-Content -Raw "$PSScriptRoot\..\dist\www\js\init.js" $PackagedArchive = $init_params -imatch 'params\[.packagedFile.][^;]+?[''"]([^\s]+?\.zim)[''"];' diff --git a/service-worker.js b/service-worker.js index cc99d47b..78a7d7ee 100644 --- a/service-worker.js +++ b/service-worker.js @@ -33,7 +33,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 = '3.7.12'; +const appVersion = '3.7.14'; /** * 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 3f2c37d3..a2ab370d 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -68,7 +68,7 @@ var params = {}; var appstate = {}; // ******** UPDATE VERSION IN service-worker.js TO MATCH VERSION AND CHECK PWASERVER BELOW!!!!!!! ******* -params['appVersion'] = '3.7.12'; // 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'] = '3.7.14'; // 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') || ''; // 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)