From 2ef13e7de7ed9fd8722805361c55e130de25e4f5 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Thu, 8 Jul 2021 12:19:53 +0100 Subject: [PATCH] Move launch handler to app.js to support permission prompt Former-commit-id: c150e9eb0e142c43072ea12a30289cb9b4d02d0f [formerly 9fa3ef316cdc9df1f00dc4f344e1590d012f1742 [formerly 4b2a00cdb6a4ccf6415673efccf64536576a6f63]] Former-commit-id: bcb0e2d2dd0d8f6cf544ab49a75fdd11cbd37bd6 Former-commit-id: 7a1540db0317453045227d8631d3913fbbbb55fa --- pwabuilder-sw.js | 2 +- www/index.html | 10 +--------- www/js/app.js | 11 +++++++++++ www/js/init.js | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/pwabuilder-sw.js b/pwabuilder-sw.js index f4c788fb..7d94cbdd 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.4.3-rc1'; +const appVersion = '1.4.3-rc2'; // 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/index.html b/www/index.html index babde31a..ae1dd91f 100644 --- a/www/index.html +++ b/www/index.html @@ -47,15 +47,7 @@