From 155c4b832281348c16be1f4ef667e6e23dbf1bd8 Mon Sep 17 00:00:00 2001 From: Vijay Raghavan Aravamudhan Date: Fri, 27 Aug 2021 18:13:24 +0530 Subject: 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. --- recipes/outlook/index.js | 2 -- recipes/outlook/package.json | 2 +- recipes/outlook/webview.js | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'recipes/outlook') diff --git a/recipes/outlook/index.js b/recipes/outlook/index.js index 5c59e64..89568a6 100644 --- a/recipes/outlook/index.js +++ b/recipes/outlook/index.js @@ -1,5 +1,3 @@ -const os = require('os'); - module.exports = Ferdi => class Outlook extends Ferdi { overrideUserAgent() { return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); diff --git a/recipes/outlook/package.json b/recipes/outlook/package.json index f2224a0..103325b 100644 --- a/recipes/outlook/package.json +++ b/recipes/outlook/package.json @@ -1,7 +1,7 @@ { "id": "outlook", "name": "Outlook Web App", - "version": "1.1.2", + "version": "1.2.0", "license": "MIT", "config": { "serviceURL": "https://outlook.live.com/mail/", diff --git a/recipes/outlook/webview.js b/recipes/outlook/webview.js index cb63219..123158e 100644 --- a/recipes/outlook/webview.js +++ b/recipes/outlook/webview.js @@ -28,5 +28,6 @@ module.exports = Ferdi => { Ferdi.setBadge(unreadMail); } + Ferdi.loop(getMessages); }; -- cgit v1.2.3-70-g09d2