diff options
author | Amine Mouafik <amine@mouafik.fr> | 2020-04-19 16:40:55 +0000 |
---|---|---|
committer | Amine Mouafik <amine@mouafik.fr> | 2020-04-19 16:40:55 +0000 |
commit | 554a9af6b5248d0ec66264c1c0c51e3f26f47642 (patch) | |
tree | 5b78ae5167579a1dc5c8209cb0e957bb7916418e /uncompressed/skype | |
parent | Remove svg size check preventing repackaging (diff) | |
download | ferdium-recipes-554a9af6b5248d0ec66264c1c0c51e3f26f47642.tar.gz ferdium-recipes-554a9af6b5248d0ec66264c1c0c51e3f26f47642.tar.zst ferdium-recipes-554a9af6b5248d0ec66264c1c0c51e3f26f47642.zip |
Fix user agents override and bump minor versions
Diffstat (limited to 'uncompressed/skype')
-rw-r--r-- | uncompressed/skype/index.js | 15 | ||||
-rw-r--r-- | uncompressed/skype/package.json | 2 |
2 files changed, 10 insertions, 7 deletions
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 | ||
3 | module.exports = Franz => class Messenger extends Franz { | 3 | module.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>", |