From 1de8786031f3208738c7f27bf70c3664e3d4c2aa Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Sun, 27 Dec 2020 13:56:34 +0000 Subject: [PATCH] Update release info for 1.1.3N # Conflicts: # package.json # www/js/init.js Former-commit-id: 875c5e319beb3a9f988e082b92e9ce0f63ca9912 [formerly 51948f57dffbd0282813aa9f3a9256cd328ca32f [formerly 22057f44a518e070afa50c70d21f430f32a192f4]] Former-commit-id: 715a34a845bd5fdf3d62ab993903768d5dd84756 Former-commit-id: f3307065c3b04b2324d16e4d5501e9cf18d3b930 --- package.json | 36 ++++++++++++++++++------------------ www/js/init.js | 4 ++-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 2ab5ed59..ad66b9ff 100644 --- a/package.json +++ b/package.json @@ -1,24 +1,24 @@ { - "name": "kiwix_js_wikimed", - "productName": "Kiwix JS WikiMed Electron Edition", - "version": "1.0.1E", - "description": "Kiwix JS WikiMed Electron", - "main": "main.js", + "name": "kiwix_js_wikimed", + "productName": "Kiwix JS WikiMed Electron Edition", + "version": "1.0.1E", + "description": "Kiwix JS WikiMed Electron", + "main": "main.js", "build": { - "appId": "kiwix.js.windows.wikimed", - "productName": "Kiwix JS WikiMed Electron Edition", - "directories": { - "output": "bld/Electron" - }, + "appId": "kiwix.js.windows.wikimed", + "productName": "Kiwix JS WikiMed Electron Edition", + "directories": { + "output": "bld/Electron" + }, "win": { - "target": [ - { - "target": "portable", - "arch": "ia32" - } - ] - }, - "asar": false, + "target": [ + { + "target": "portable", + "arch": "ia32" + } + ] + }, + "asar": false, "files": [ "pwabuilder-sw.js", "index.html", diff --git a/www/js/init.js b/www/js/init.js index 34423920..05805d59 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -49,7 +49,7 @@ var params = {}; */ var appstate = {}; -params['version'] = "1.1.2"; //DEV: Manually update this version when there is a new release: it is compared to the cookie "version" in order to show first-time info, and the cookie is updated in app.js +params['version'] = "1.1.3N"; //DEV: Manually update this version when there is a new release: it is compared to the cookie "version" in order to show first-time info, and the cookie is updated in app.js 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) params['fileVersion'] = "wikipedia_en_100_maxi_2020-11.zim (6-Nov-2020)"; //Use generic name for actual file, and give version here @@ -71,7 +71,7 @@ params['hideToolbars'] = getCookie('hideToolbars') != null ? getCookie('hideTool params['rememberLastPage'] = getCookie('rememberLastPage') != null ? getCookie('rememberLastPage') : true; //Set default option to remember the last visited page between sessions params['useMathJax'] = getCookie('useMathJax') != null ? getCookie('useMathJax') : true; //Set default to true to display math formulae with MathJax, false to use fallback SVG images only //params['showFileSelectors'] = getCookie('showFileSelectors') != null ? getCookie('showFileSelectors') : false; //Set to true to display hidden file selectors in packaged apps -params['showFileSelectors'] = false; //False will cause file selectors to be hidden on each load of the app (by ignoring cookie) +params['showFileSelectors'] = true; //False will cause file selectors to be hidden on each load of the app (by ignoring cookie) params['hideActiveContentWarning'] = getCookie('hideActiveContentWarning') != null ? getCookie('hideActiveContentWarning') : false; params['allowHTMLExtraction'] = getCookie('allowHTMLExtraction') == true; params['alphaChar'] = getCookie('alphaChar') || 'A'; //Set default start of alphabet string (used by the Archive Index)