gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-wallet-webex] branch master updated: version, apply


From: gnunet
Subject: [GNUnet-SVN] [taler-wallet-webex] branch master updated: version, apply updates ASAP
Date: Wed, 31 May 2017 22:55:07 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-webex.

The following commit(s) were added to refs/heads/master by this push:
     new 8a2642a5 version, apply updates ASAP
8a2642a5 is described below

commit 8a2642a51c163fdf45c0fe5236efae51a5b68b81
Author: Florian Dold <address@hidden>
AuthorDate: Wed May 31 22:55:03 2017 +0200

    version, apply updates ASAP
---
 manifest.json          | 2 +-
 src/webex/wxBackend.ts | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/manifest.json b/manifest.json
index 500fb12c..250f1cb7 100644
--- a/manifest.json
+++ b/manifest.json
@@ -5,7 +5,7 @@
   "description": "Privacy preserving and transparent payments",
   "author": "GNU Taler Developers",
   "version": "0.6.40",
-  "version_name": "0.2.3",
+  "version_name": "0.2.4",
 
   "minimum_chrome_version": "51",
   "minimum_opera_version": "36",
diff --git a/src/webex/wxBackend.ts b/src/webex/wxBackend.ts
index 356b2af6..5290b4c1 100644
--- a/src/webex/wxBackend.ts
+++ b/src/webex/wxBackend.ts
@@ -428,6 +428,13 @@ function clearRateLimitCache() {
  * Sets up all event handlers and other machinery.
  */
 export async function wxMain() {
+  // Explicitly unload the extension page as soon as an update is available,
+  // so the update gets installed as soon as possible.
+  chrome.runtime.onUpdateAvailable.addListener((details) => {
+    console.log("update available:", details);
+    chrome.runtime.reload();
+  })
+
   window.onerror = (m, source, lineno, colno, error) => {
     logging.record("error", m + error, undefined, source || "(unknown)", 
lineno || 0, colno || 0);
   };

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]