aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--all.json2
-rw-r--r--archives/whatsapp.tar.gzbin183468 -> 183369 bytes
-rw-r--r--uncompressed/whatsapp/package.json2
-rw-r--r--uncompressed/whatsapp/webview.js7
4 files changed, 2 insertions, 9 deletions
diff --git a/all.json b/all.json
index dc22b21..313624a 100644
--- a/all.json
+++ b/all.json
@@ -972,7 +972,7 @@
972 "featured": false, 972 "featured": false,
973 "id": "whatsapp", 973 "id": "whatsapp",
974 "name": "WhatsApp", 974 "name": "WhatsApp",
975 "version": "1.1.0", 975 "version": "2.0.0",
976 "icons": { 976 "icons": {
977 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/whatsapp/icon.png", 977 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/whatsapp/icon.png",
978 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/whatsapp/icon.svg" 978 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/whatsapp/icon.svg"
diff --git a/archives/whatsapp.tar.gz b/archives/whatsapp.tar.gz
index 0a78ed7..1c45a71 100644
--- a/archives/whatsapp.tar.gz
+++ b/archives/whatsapp.tar.gz
Binary files differ
diff --git a/uncompressed/whatsapp/package.json b/uncompressed/whatsapp/package.json
index 3eccc69..210e8d1 100644
--- a/uncompressed/whatsapp/package.json
+++ b/uncompressed/whatsapp/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "whatsapp", 2 "id": "whatsapp",
3 "name": "WhatsApp", 3 "name": "WhatsApp",
4 "version": "1.1.0", 4 "version": "2.0.0",
5 "description": "WhatsApp", 5 "description": "WhatsApp",
6 "main": "index.js", 6 "main": "index.js",
7 "author": "Stefan Malzner <stefan@adlk.io>", 7 "author": "Stefan Malzner <stefan@adlk.io>",
diff --git a/uncompressed/whatsapp/webview.js b/uncompressed/whatsapp/webview.js
index 47d791d..989680a 100644
--- a/uncompressed/whatsapp/webview.js
+++ b/uncompressed/whatsapp/webview.js
@@ -10,13 +10,6 @@ const webContents = remote.getCurrentWebContents();
10const { 10const {
11 session 11 session
12} = webContents; 12} = webContents;
13setTimeout(() => {
14 const elem = document.querySelector('.landing-title.version-title');
15
16 if (elem && elem.innerText.toLowerCase().includes('google chrome')) {
17 window.location.reload();
18 }
19}, 1000);
20window.addEventListener('beforeunload', async () => { 13window.addEventListener('beforeunload', async () => {
21 try { 14 try {
22 session.flushStorageData(); 15 session.flushStorageData();