aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Amine <amine@mouafik.fr>2020-04-19 18:17:31 +0000
committerLibravatar GitHub <noreply@github.com>2020-04-19 18:17:31 +0000
commitdd074a7e21ad2366cc6b4bcdb0020eee77aa3808 (patch)
tree70b60eeb171b61a67c2f7eb388fd706dac24246a
parentRepackage (diff)
parentRevert Instagram-related changes in all.json (diff)
downloadferdium-recipes-dd074a7e21ad2366cc6b4bcdb0020eee77aa3808.tar.gz
ferdium-recipes-dd074a7e21ad2366cc6b4bcdb0020eee77aa3808.tar.zst
ferdium-recipes-dd074a7e21ad2366cc6b4bcdb0020eee77aa3808.zip
Merge pull request #115 from getferdi/fix/user-agents
Fix user agents override methods
-rw-r--r--all.json16
-rw-r--r--archives/jira.tar.gzbin31777 -> 31776 bytes
-rw-r--r--archives/kaizala.tar.gzbin5047 -> 66378 bytes
-rw-r--r--archives/messenger.tar.gzbin149566 -> 149354 bytes
-rw-r--r--archives/msteams.tar.gzbin12009 -> 12654 bytes
-rw-r--r--archives/skype.tar.gzbin73401 -> 73228 bytes
-rw-r--r--archives/steamchat.tar.gzbin78609 -> 78646 bytes
-rw-r--r--archives/whatsapp.tar.gzbin141745 -> 183468 bytes
-rw-r--r--scripts/api/package.js16
-rw-r--r--uncompressed/jira/index.js15
-rw-r--r--uncompressed/jira/package.json2
-rw-r--r--uncompressed/kaizala/icon.pngbin2567 -> 80000 bytes
-rw-r--r--uncompressed/kaizala/index.js15
-rw-r--r--uncompressed/kaizala/package.json2
-rw-r--r--uncompressed/messenger/index.js15
-rw-r--r--uncompressed/messenger/package.json2
-rw-r--r--uncompressed/msteams/icon.pngbin14804 -> 28663 bytes
-rw-r--r--uncompressed/msteams/index.js2
-rw-r--r--uncompressed/msteams/package.json2
-rw-r--r--uncompressed/skype/index.js15
-rw-r--r--uncompressed/skype/package.json2
-rw-r--r--uncompressed/steamchat/index.js18
-rw-r--r--uncompressed/steamchat/package.json2
-rw-r--r--uncompressed/whatsapp/icon.pngbin66312 -> 120797 bytes
-rw-r--r--uncompressed/whatsapp/index.js15
-rw-r--r--uncompressed/whatsapp/package.json2
26 files changed, 73 insertions, 68 deletions
diff --git a/all.json b/all.json
index 6b153b3..32527d2 100644
--- a/all.json
+++ b/all.json
@@ -385,7 +385,7 @@
385 } 385 }
386 }, 386 },
387 { 387 {
388 "author": "Amine Mouafik <amine@mouafik.fr>", 388 "author": "Stefan Malzner <stefan@adlk.io>",
389 "featured": false, 389 "featured": false,
390 "id": "instagram", 390 "id": "instagram",
391 "name": "Instagram", 391 "name": "Instagram",
@@ -411,7 +411,7 @@
411 "featured": false, 411 "featured": false,
412 "id": "jira", 412 "id": "jira",
413 "name": "Jira", 413 "name": "Jira",
414 "version": "1.0.1", 414 "version": "1.1.0",
415 "icons": { 415 "icons": {
416 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/jira/icon.png", 416 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/jira/icon.png",
417 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/jira/icon.svg" 417 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/jira/icon.svg"
@@ -433,7 +433,7 @@
433 "featured": false, 433 "featured": false,
434 "id": "kaizala", 434 "id": "kaizala",
435 "name": "Microsoft Kaizala", 435 "name": "Microsoft Kaizala",
436 "version": "1.0.0", 436 "version": "1.1.0",
437 "icons": { 437 "icons": {
438 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/kaizala/icon.png", 438 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/kaizala/icon.png",
439 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/kaizala/icon.svg" 439 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/kaizala/icon.svg"
@@ -488,7 +488,7 @@
488 "featured": false, 488 "featured": false,
489 "id": "messenger", 489 "id": "messenger",
490 "name": "Messenger", 490 "name": "Messenger",
491 "version": "1.0.8", 491 "version": "1.1.0",
492 "icons": { 492 "icons": {
493 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/messenger/icon.png", 493 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/messenger/icon.png",
494 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/messenger/icon.svg" 494 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/messenger/icon.svg"
@@ -510,7 +510,7 @@
510 "featured": false, 510 "featured": false,
511 "id": "msteams", 511 "id": "msteams",
512 "name": "Microsoft Teams", 512 "name": "Microsoft Teams",
513 "version": "1.1.0", 513 "version": "1.2.0",
514 "icons": { 514 "icons": {
515 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/msteams/icon.png", 515 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/msteams/icon.png",
516 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/msteams/icon.svg" 516 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/msteams/icon.svg"
@@ -730,7 +730,7 @@
730 "featured": false, 730 "featured": false,
731 "id": "skype", 731 "id": "skype",
732 "name": "Skype", 732 "name": "Skype",
733 "version": "1.2.0", 733 "version": "1.3.0",
734 "icons": { 734 "icons": {
735 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/skype/icon.png", 735 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/skype/icon.png",
736 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/skype/icon.svg" 736 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/skype/icon.svg"
@@ -763,7 +763,7 @@
763 "featured": false, 763 "featured": false,
764 "id": "steamchat", 764 "id": "steamchat",
765 "name": "SteamChat", 765 "name": "SteamChat",
766 "version": "1.0.1", 766 "version": "1.1.0",
767 "icons": { 767 "icons": {
768 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/steamchat/icon.png", 768 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/steamchat/icon.png",
769 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/steamchat/icon.svg" 769 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/steamchat/icon.svg"
@@ -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.0.20", 975 "version": "1.1.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/jira.tar.gz b/archives/jira.tar.gz
index 4d81f3f..4646271 100644
--- a/archives/jira.tar.gz
+++ b/archives/jira.tar.gz
Binary files differ
diff --git a/archives/kaizala.tar.gz b/archives/kaizala.tar.gz
index d25b27b..c353f9f 100644
--- a/archives/kaizala.tar.gz
+++ b/archives/kaizala.tar.gz
Binary files differ
diff --git a/archives/messenger.tar.gz b/archives/messenger.tar.gz
index e7f8eef..7094f40 100644
--- a/archives/messenger.tar.gz
+++ b/archives/messenger.tar.gz
Binary files differ
diff --git a/archives/msteams.tar.gz b/archives/msteams.tar.gz
index 9acdb64..6ecac06 100644
--- a/archives/msteams.tar.gz
+++ b/archives/msteams.tar.gz
Binary files differ
diff --git a/archives/skype.tar.gz b/archives/skype.tar.gz
index 2a7a34f..5d316d0 100644
--- a/archives/skype.tar.gz
+++ b/archives/skype.tar.gz
Binary files differ
diff --git a/archives/steamchat.tar.gz b/archives/steamchat.tar.gz
index 8701127..294faa1 100644
--- a/archives/steamchat.tar.gz
+++ b/archives/steamchat.tar.gz
Binary files differ
diff --git a/archives/whatsapp.tar.gz b/archives/whatsapp.tar.gz
index 2ba5712..0a78ed7 100644
--- a/archives/whatsapp.tar.gz
+++ b/archives/whatsapp.tar.gz
Binary files differ
diff --git a/scripts/api/package.js b/scripts/api/package.js
index 2d265f6..9c3ede5 100644
--- a/scripts/api/package.js
+++ b/scripts/api/package.js
@@ -73,26 +73,12 @@ For more information about recipe icons visit https://github.com/getferdi/recipe
73 // Check that icons have the right dimensions 73 // Check that icons have the right dimensions
74 const pngSize = sizeOf(pngIcon); 74 const pngSize = sizeOf(pngIcon);
75 const pngHasRightSize = pngSize.width === 1024 && pngSize.height === 1024; 75 const pngHasRightSize = pngSize.width === 1024 && pngSize.height === 1024;
76 const svgSize = sizeOf(svgIcon); 76 if (!pngHasRightSize) {
77 const svgHasRightSize = svgSize.width === 1024 && svgSize.height === 1024;
78 if (!pngHasRightSize && !svgHasRightSize) {
79 console.log(`⚠️ Could not add your recipe: Icons require to be 1024x1024px in size.
80Both your "icon.png" and "icon.svg" don't seem to have the right size.
81You can use software like Photoshop, GIMP or Photopea (https://www.photopea.com/) to resize your icons.
82For more information about recipe icons visit https://github.com/getferdi/recipes/blob/master/docs/integration.md#icons`);
83 return;
84 } else if (!pngHasRightSize) {
85 console.log(`⚠️ Could not add your recipe: "icon.png" should be to be 1024x1024px in size. 77 console.log(`⚠️ Could not add your recipe: "icon.png" should be to be 1024x1024px in size.
86Please make sure that your "icon.png" has the right size of 1024x1024px in size. 78Please make sure that your "icon.png" has the right size of 1024x1024px in size.
87You can use software like Photoshop, GIMP or Photopea (https://www.photopea.com/) to resize your icons. 79You can use software like Photoshop, GIMP or Photopea (https://www.photopea.com/) to resize your icons.
88For more information about recipe icons visit https://github.com/getferdi/recipes/blob/master/docs/integration.md#icons`); 80For more information about recipe icons visit https://github.com/getferdi/recipes/blob/master/docs/integration.md#icons`);
89 return; 81 return;
90 } else if (!svgHasRightSize) {
91 console.log(`⚠️ Could not add your recipe: "icon.svg" should be to be 1024x1024px in size.
92Please make sure that your "icon.svg" has the right size of 1024x1024px in size.
93You can use software like Photoshop, GIMP or Photopea (https://www.photopea.com/) to resize your icons.
94For more information about recipe icons visit https://github.com/getferdi/recipes/blob/master/docs/integration.md#icons`);
95 return;
96 } 82 }
97 83
98 // Read package.json 84 // Read package.json
diff --git a/uncompressed/jira/index.js b/uncompressed/jira/index.js
index 9edb279..0431300 100644
--- a/uncompressed/jira/index.js
+++ b/uncompressed/jira/index.js
@@ -1,8 +1,11 @@
1"use strict"; 1"use strict";
2 2
3module.exports = Franz => class Jira extends Franz { 3module.exports = (Franz) =>
4 overrideUserAgent() { 4 class Jira extends Franz {
5 return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); 5 overrideUserAgent() {
6 } 6 return window.navigator.userAgent.replace(
7 7 /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
8}; \ No newline at end of file 8 ""
9 );
10 }
11 };
diff --git a/uncompressed/jira/package.json b/uncompressed/jira/package.json
index be90dbb..6a1aee2 100644
--- a/uncompressed/jira/package.json
+++ b/uncompressed/jira/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "jira", 2 "id": "jira",
3 "name": "Jira", 3 "name": "Jira",
4 "version": "1.0.1", 4 "version": "1.1.0",
5 "description": "Jira", 5 "description": "Jira",
6 "main": "index.js", 6 "main": "index.js",
7 "author": "Leonardo Bragatti <leonardo.bragatti@gmail.com> and The Ferdi Team <hello@getferdi.com>", 7 "author": "Leonardo Bragatti <leonardo.bragatti@gmail.com> and The Ferdi Team <hello@getferdi.com>",
diff --git a/uncompressed/kaizala/icon.png b/uncompressed/kaizala/icon.png
index 34817f9..895b808 100644
--- a/uncompressed/kaizala/icon.png
+++ b/uncompressed/kaizala/icon.png
Binary files differ
diff --git a/uncompressed/kaizala/index.js b/uncompressed/kaizala/index.js
index dd10055..f9b8099 100644
--- a/uncompressed/kaizala/index.js
+++ b/uncompressed/kaizala/index.js
@@ -1,8 +1,11 @@
1"use strict"; 1"use strict";
2 2
3module.exports = Franz => class Messenger extends Franz { 3module.exports = (Franz) =>
4 overrideUserAgent() { 4 class Messenger extends Franz {
5 return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); 5 overrideUserAgent() {
6 } 6 return window.navigator.userAgent.replace(
7 7 /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
8}; \ No newline at end of file 8 ""
9 );
10 }
11 };
diff --git a/uncompressed/kaizala/package.json b/uncompressed/kaizala/package.json
index 598ef74..2867216 100644
--- a/uncompressed/kaizala/package.json
+++ b/uncompressed/kaizala/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "kaizala", 2 "id": "kaizala",
3 "name": "Microsoft Kaizala", 3 "name": "Microsoft Kaizala",
4 "version": "1.0.0", 4 "version": "1.1.0",
5 "description": "Microsoft Kaizala", 5 "description": "Microsoft Kaizala",
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/messenger/index.js b/uncompressed/messenger/index.js
index dd10055..f9b8099 100644
--- a/uncompressed/messenger/index.js
+++ b/uncompressed/messenger/index.js
@@ -1,8 +1,11 @@
1"use strict"; 1"use strict";
2 2
3module.exports = Franz => class Messenger extends Franz { 3module.exports = (Franz) =>
4 overrideUserAgent() { 4 class Messenger extends Franz {
5 return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); 5 overrideUserAgent() {
6 } 6 return window.navigator.userAgent.replace(
7 7 /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
8}; \ No newline at end of file 8 ""
9 );
10 }
11 };
diff --git a/uncompressed/messenger/package.json b/uncompressed/messenger/package.json
index 30cbbdf..b26d37d 100644
--- a/uncompressed/messenger/package.json
+++ b/uncompressed/messenger/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "messenger", 2 "id": "messenger",
3 "name": "Messenger", 3 "name": "Messenger",
4 "version": "1.0.8", 4 "version": "1.1.0",
5 "description": "Facebook Messenger", 5 "description": "Facebook Messenger",
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/msteams/icon.png b/uncompressed/msteams/icon.png
index 9e1f0e8..fc23e58 100644
--- a/uncompressed/msteams/icon.png
+++ b/uncompressed/msteams/icon.png
Binary files differ
diff --git a/uncompressed/msteams/index.js b/uncompressed/msteams/index.js
index 0afc5c9..b85bf33 100644
--- a/uncompressed/msteams/index.js
+++ b/uncompressed/msteams/index.js
@@ -2,7 +2,7 @@
2 2
3module.exports = Franz => class MicrosoftTeams extends Franz { 3module.exports = Franz => class MicrosoftTeams extends Franz {
4 overrideUserAgent() { 4 overrideUserAgent() {
5 return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, '').replace(/(Chrome\/)([^ ]*)/g, '$163.0.3239.84'); 5 return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').replace(/(Chrome\/)([^ ]*)/g, '$163.0.3239.84');
6 } 6 }
7 7
8}; \ No newline at end of file 8}; \ No newline at end of file
diff --git a/uncompressed/msteams/package.json b/uncompressed/msteams/package.json
index 037b3c4..85993a8 100644
--- a/uncompressed/msteams/package.json
+++ b/uncompressed/msteams/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "msteams", 2 "id": "msteams",
3 "name": "Microsoft Teams", 3 "name": "Microsoft Teams",
4 "version": "1.1.0", 4 "version": "1.2.0",
5 "description": "Microsoft Teams", 5 "description": "Microsoft Teams",
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/skype/index.js b/uncompressed/skype/index.js
index dd10055..f9b8099 100644
--- a/uncompressed/skype/index.js
+++ b/uncompressed/skype/index.js
@@ -1,8 +1,11 @@
1"use strict"; 1"use strict";
2 2
3module.exports = Franz => class Messenger extends Franz { 3module.exports = (Franz) =>
4 overrideUserAgent() { 4 class Messenger extends Franz {
5 return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); 5 overrideUserAgent() {
6 } 6 return window.navigator.userAgent.replace(
7 7 /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
8}; \ No newline at end of file 8 ""
9 );
10 }
11 };
diff --git a/uncompressed/skype/package.json b/uncompressed/skype/package.json
index 4ca6899..b61e4a3 100644
--- a/uncompressed/skype/package.json
+++ b/uncompressed/skype/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "skype", 2 "id": "skype",
3 "name": "Skype", 3 "name": "Skype",
4 "version": "1.2.0", 4 "version": "1.3.0",
5 "description": "Skype", 5 "description": "Skype",
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/steamchat/index.js b/uncompressed/steamchat/index.js
index 877a4e1..08b28c6 100644
--- a/uncompressed/steamchat/index.js
+++ b/uncompressed/steamchat/index.js
@@ -1,8 +1,12 @@
1'use strict'; 1"use strict";
2 2
3module.exports = Franz => class SteamChat extends Franz { 3module.exports = (Franz) =>
4 overrideUserAgent() { 4 class SteamChat extends Franz {
5 return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); 5 overrideUserAgent() {
6 } 6 return window.navigator.userAgent.replace(
7}; 7 /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
8//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0ZWFtY2hhdC9pbmRleC5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJTdGVhbUNoYXQiLCJvdmVycmlkZVVzZXJBZ2VudCIsIndpbmRvdyIsIm5hdmlnYXRvciIsInVzZXJBZ2VudCIsInJlcGxhY2UiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBaUJDLFNBQVMsTUFBTUMsU0FBTixTQUF3QkQsS0FBeEIsQ0FBOEI7QUFDdERFLHNCQUFvQjtBQUNsQixXQUFPQyxPQUFPQyxTQUFQLENBQWlCQyxTQUFqQixDQUEyQkMsT0FBM0IsQ0FBbUMsNkJBQW5DLEVBQWtFLEVBQWxFLENBQVA7QUFDRDtBQUhxRCxDQUF4RCIsImZpbGUiOiJzdGVhbWNoYXQvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IGNsYXNzIFN0ZWFtQ2hhdCBleHRlbmRzIEZyYW56IHtcbiAgb3ZlcnJpZGVVc2VyQWdlbnQoKSB7XG4gICAgcmV0dXJuIHdpbmRvdy5uYXZpZ2F0b3IudXNlckFnZW50LnJlcGxhY2UoLyhGcmFuenxFbGVjdHJvbikoW15cXHNdK1xccykvZywgJycpO1xuICB9XG59O1xuIl19 \ No newline at end of file 8 ""
9 );
10 }
11 };
12//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0ZWFtY2hhdC9pbmRleC5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJTdGVhbUNoYXQiLCJvdmVycmlkZVVzZXJBZ2VudCIsIndpbmRvdyIsIm5hdmlnYXRvciIsInVzZXJBZ2VudCIsInJlcGxhY2UiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBaUJDLFNBQVMsTUFBTUMsU0FBTixTQUF3QkQsS0FBeEIsQ0FBOEI7QUFDdERFLHNCQUFvQjtBQUNsQixXQUFPQyxPQUFPQyxTQUFQLENBQWlCQyxTQUFqQixDQUEyQkMsT0FBM0IsQ0FBbUMsNkJBQW5DLEVBQWtFLEVBQWxFLENBQVA7QUFDRDtBQUhxRCxDQUF4RCIsImZpbGUiOiJzdGVhbWNoYXQvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IGNsYXNzIFN0ZWFtQ2hhdCBleHRlbmRzIEZyYW56IHtcbiAgb3ZlcnJpZGVVc2VyQWdlbnQoKSB7XG4gICAgcmV0dXJuIHdpbmRvdy5uYXZpZ2F0b3IudXNlckFnZW50LnJlcGxhY2UoLyhGcmFuenxFbGVjdHJvbikoW15cXHNdK1xccykvZywgJycpO1xuICB9XG59O1xuIl19
diff --git a/uncompressed/steamchat/package.json b/uncompressed/steamchat/package.json
index 30ce277..2563a61 100644
--- a/uncompressed/steamchat/package.json
+++ b/uncompressed/steamchat/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "steamchat", 2 "id": "steamchat",
3 "name": "SteamChat", 3 "name": "SteamChat",
4 "version": "1.0.1", 4 "version": "1.1.0",
5 "description": "Steam Chat", 5 "description": "Steam Chat",
6 "main": "index.js", 6 "main": "index.js",
7 "author": "Kevin Oestmark <yo@kevin.am>", 7 "author": "Kevin Oestmark <yo@kevin.am>",
diff --git a/uncompressed/whatsapp/icon.png b/uncompressed/whatsapp/icon.png
index 05e4a8c..f0987b0 100644
--- a/uncompressed/whatsapp/icon.png
+++ b/uncompressed/whatsapp/icon.png
Binary files differ
diff --git a/uncompressed/whatsapp/index.js b/uncompressed/whatsapp/index.js
index dd10055..f9b8099 100644
--- a/uncompressed/whatsapp/index.js
+++ b/uncompressed/whatsapp/index.js
@@ -1,8 +1,11 @@
1"use strict"; 1"use strict";
2 2
3module.exports = Franz => class Messenger extends Franz { 3module.exports = (Franz) =>
4 overrideUserAgent() { 4 class Messenger extends Franz {
5 return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); 5 overrideUserAgent() {
6 } 6 return window.navigator.userAgent.replace(
7 7 /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
8}; \ No newline at end of file 8 ""
9 );
10 }
11 };
diff --git a/uncompressed/whatsapp/package.json b/uncompressed/whatsapp/package.json
index e5ef63a..3eccc69 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.0.20", 4 "version": "1.1.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>",