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/jira | |
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/jira')
-rw-r--r-- | uncompressed/jira/index.js | 15 | ||||
-rw-r--r-- | uncompressed/jira/package.json | 2 |
2 files changed, 10 insertions, 7 deletions
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 | ||
3 | module.exports = Franz => class Jira extends Franz { | 3 | module.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>", |