From 6f5e4a00588aefdda7a5a1cfe70935870e7e234a Mon Sep 17 00:00:00 2001 From: Bennett Date: Tue, 22 Sep 2020 20:56:48 +0200 Subject: Unpack recipes and update recipes icons (#292) Co-authored-by: Amine Mouafik --- recipes/tutanota/.gitattributes | 2 ++ recipes/tutanota/.gitignore | 1 + recipes/tutanota/README.md | 3 +++ recipes/tutanota/icon.png | Bin 0 -> 31065 bytes recipes/tutanota/icon.svg | 14 ++++++++++++++ recipes/tutanota/index.js | 2 ++ recipes/tutanota/package.json | 12 ++++++++++++ recipes/tutanota/service.css | 1 + recipes/tutanota/webview.js | 15 +++++++++++++++ 9 files changed, 50 insertions(+) create mode 100644 recipes/tutanota/.gitattributes create mode 100644 recipes/tutanota/.gitignore create mode 100644 recipes/tutanota/README.md create mode 100644 recipes/tutanota/icon.png create mode 100644 recipes/tutanota/icon.svg create mode 100644 recipes/tutanota/index.js create mode 100644 recipes/tutanota/package.json create mode 100644 recipes/tutanota/service.css create mode 100644 recipes/tutanota/webview.js (limited to 'recipes/tutanota') diff --git a/recipes/tutanota/.gitattributes b/recipes/tutanota/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/recipes/tutanota/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/recipes/tutanota/.gitignore b/recipes/tutanota/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/recipes/tutanota/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/recipes/tutanota/README.md b/recipes/tutanota/README.md new file mode 100644 index 0000000..da02c2c --- /dev/null +++ b/recipes/tutanota/README.md @@ -0,0 +1,3 @@ +# Tutanota for Ferdi + +An unofficial Ferdi recipe for Tutanota diff --git a/recipes/tutanota/icon.png b/recipes/tutanota/icon.png new file mode 100644 index 0000000..f9a152d Binary files /dev/null and b/recipes/tutanota/icon.png differ diff --git a/recipes/tutanota/icon.svg b/recipes/tutanota/icon.svg new file mode 100644 index 0000000..dd24bb6 --- /dev/null +++ b/recipes/tutanota/icon.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/recipes/tutanota/index.js b/recipes/tutanota/index.js new file mode 100644 index 0000000..3947605 --- /dev/null +++ b/recipes/tutanota/index.js @@ -0,0 +1,2 @@ +module.exports = Ferdi => class tutanota extends Ferdi { +}; diff --git a/recipes/tutanota/package.json b/recipes/tutanota/package.json new file mode 100644 index 0000000..6482856 --- /dev/null +++ b/recipes/tutanota/package.json @@ -0,0 +1,12 @@ +{ + "id": "tutanota", + "name": "Tutanota", + "version": "1.0.0", + "description": "An unofficial Ferdi recipe for Tutanota", + "main": "index.js", + "author": "Kittywhiskers Van Gogh <63189531+kittywhiskers@users.noreply.github.com>", + "license": "MIT", + "config": { + "serviceURL": "https://mail.tutanota.com/" + } +} diff --git a/recipes/tutanota/service.css b/recipes/tutanota/service.css new file mode 100644 index 0000000..38dcab0 --- /dev/null +++ b/recipes/tutanota/service.css @@ -0,0 +1 @@ +/* Insert custom styles you want to insert here */ \ No newline at end of file diff --git a/recipes/tutanota/webview.js b/recipes/tutanota/webview.js new file mode 100644 index 0000000..ddd0b40 --- /dev/null +++ b/recipes/tutanota/webview.js @@ -0,0 +1,15 @@ +"use strict"; + +var _path = _interopRequireDefault(require("path")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +module.exports = Ferdi => { + const getMessages = function getMessages() { + // TODO: Insert your notification-finding code here + Ferdi.setBadge(0, 0); + }; + + Ferdi.loop(getMessages); + Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); +}; -- cgit v1.2.3-54-g00ecf