diff options
author | 2020-04-19 16:40:55 +0000 | |
---|---|---|
committer | 2020-04-19 16:40:55 +0000 | |
commit | 554a9af6b5248d0ec66264c1c0c51e3f26f47642 (patch) | |
tree | 5b78ae5167579a1dc5c8209cb0e957bb7916418e /uncompressed/msteams | |
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/msteams')
-rw-r--r-- | uncompressed/msteams/index.js | 2 | ||||
-rw-r--r-- | uncompressed/msteams/package.json | 2 |
2 files changed, 2 insertions, 2 deletions
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 | ||
3 | module.exports = Franz => class MicrosoftTeams extends Franz { | 3 | module.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>", |