aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gotomeeting
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-08-27 18:13:24 +0530
committerLibravatar GitHub <noreply@github.com>2021-08-27 18:13:24 +0530
commit155c4b832281348c16be1f4ef667e6e23dbf1bd8 (patch)
treed144e2de2e6c7fb2e334246e8a4aecdbeb08ef8d /recipes/gotomeeting
parentdocs: fixed template file for creating recipe. (diff)
downloadferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.gz
ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.zst
ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.zip
chore: normalized all recipes to ensure compatibility with es6 (#639)
- Removed some calls to set badge with '0' all the time. - Removed all 'sourceMaps' since they are all outdated atm.
Diffstat (limited to 'recipes/gotomeeting')
-rw-r--r--recipes/gotomeeting/index.js4
-rw-r--r--recipes/gotomeeting/package.json2
-rw-r--r--recipes/gotomeeting/webview.js9
3 files changed, 9 insertions, 6 deletions
diff --git a/recipes/gotomeeting/index.js b/recipes/gotomeeting/index.js
index d779159..bde0ae0 100644
--- a/recipes/gotomeeting/index.js
+++ b/recipes/gotomeeting/index.js
@@ -1,5 +1,5 @@
1module.exports = Franz => class Gotomeeting extends Franz { 1module.exports = Ferdi => class Gotomeeting extends Ferdi {
2 overrideUserAgent() { 2 overrideUserAgent() {
3 return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); 3 return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '');
4 } 4 }
5}; 5};
diff --git a/recipes/gotomeeting/package.json b/recipes/gotomeeting/package.json
index f64732c..b4e4ae0 100644
--- a/recipes/gotomeeting/package.json
+++ b/recipes/gotomeeting/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "gotomeeting", 2 "id": "gotomeeting",
3 "name": "Go To Meeting", 3 "name": "Go To Meeting",
4 "version": "0.2.3", 4 "version": "0.3.0",
5 "repository": "https://github.com/tristanplouz/ferdi-recipe-gotomeeting.git", 5 "repository": "https://github.com/tristanplouz/ferdi-recipe-gotomeeting.git",
6 "license": "MIT", 6 "license": "MIT",
7 "config": { 7 "config": {
diff --git a/recipes/gotomeeting/webview.js b/recipes/gotomeeting/webview.js
index 6e0b370..097df0d 100644
--- a/recipes/gotomeeting/webview.js
+++ b/recipes/gotomeeting/webview.js
@@ -1,8 +1,11 @@
1const path = require('path'); 1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2 4
3module.exports = Ferdi => { 5module.exports = Ferdi => {
4 Ferdi.injectCSS(path.join(__dirname, 'service.css')); 6 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css'));
7
5 if (document.location.href.match('after')) { 8 if (document.location.href.match('after')) {
6 document.location.href = 'https://app.gotomeeting.com/home.html'; 9 document.location.href = 'https://app.gotomeeting.com/home.html';
7 } 10 }
8}; 11};