From 67d035374517dfa7e09a3b39f34e419765036b10 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Wed, 19 Feb 2020 11:41:11 +0100 Subject: Update mailbox.org recipe --- all.json | 2 +- mailbox.org.tar.gz | Bin 52306 -> 26912 bytes uncompressed/mailbox.org/README.md | 2 + uncompressed/mailbox.org/icon.png | Bin 319160 -> 29543 bytes uncompressed/mailbox.org/icon.svg | 943 +++------------------------------- uncompressed/mailbox.org/index.js | 5 +- uncompressed/mailbox.org/package.json | 2 +- uncompressed/mailbox.org/webview.js | 6 +- 8 files changed, 91 insertions(+), 869 deletions(-) diff --git a/all.json b/all.json index 0cfbf19..db7d21d 100644 --- a/all.json +++ b/all.json @@ -301,7 +301,7 @@ "featured": false, "id": "mailbox.org", "name": "mailbox.org", - "version": "1.1.1", + "version": "1.2.0", "icons": { "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/mailbox.org/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/mailbox.org/icon.svg" diff --git a/mailbox.org.tar.gz b/mailbox.org.tar.gz index f4639f1..6b1c6e9 100644 Binary files a/mailbox.org.tar.gz and b/mailbox.org.tar.gz differ diff --git a/uncompressed/mailbox.org/README.md b/uncompressed/mailbox.org/README.md index 3616116..d077587 100644 --- a/uncompressed/mailbox.org/README.md +++ b/uncompressed/mailbox.org/README.md @@ -14,3 +14,5 @@ This recipe only works for Franz 5.X, get it now at http://meetfranz.com ## Documentation * [Read the documentation](https://github.com/meetfranz/plugins/blob/master/docs/integration.md) + +**_All images are copyright to their respective owners_** diff --git a/uncompressed/mailbox.org/icon.png b/uncompressed/mailbox.org/icon.png index 2d75b27..e2952a2 100644 Binary files a/uncompressed/mailbox.org/icon.png and b/uncompressed/mailbox.org/icon.png differ diff --git a/uncompressed/mailbox.org/icon.svg b/uncompressed/mailbox.org/icon.svg index 8c3b62b..9f723f1 100644 --- a/uncompressed/mailbox.org/icon.svg +++ b/uncompressed/mailbox.org/icon.svg @@ -1,860 +1,85 @@ - - - + + +image/svg+xml + + + + + + + + + + + \ No newline at end of file diff --git a/uncompressed/mailbox.org/index.js b/uncompressed/mailbox.org/index.js index 0e64091..886d7f6 100644 --- a/uncompressed/mailbox.org/index.js +++ b/uncompressed/mailbox.org/index.js @@ -1,5 +1,2 @@ -"use strict"; - // default integration (e.g messenger.com, ...) -module.exports = Franz => Franz; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1haWxib3gub3JnL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQTtBQUNBQSxPQUFPQyxPQUFQLEdBQWlCQyxTQUFTQSxLQUExQiIsImZpbGUiOiJtYWlsYm94Lm9yZy9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIGRlZmF1bHQgaW50ZWdyYXRpb24gKGUuZyBtZXNzZW5nZXIuY29tLCAuLi4pXHJcbm1vZHVsZS5leHBvcnRzID0gRnJhbnogPT4gRnJhbno7Il19 \ No newline at end of file +module.exports = Franz => Franz; \ No newline at end of file diff --git a/uncompressed/mailbox.org/package.json b/uncompressed/mailbox.org/package.json index a058e8b..6684cc3 100644 --- a/uncompressed/mailbox.org/package.json +++ b/uncompressed/mailbox.org/package.json @@ -1,7 +1,7 @@ { "id": "mailbox.org", "name": "mailbox.org", - "version": "1.1.1", + "version": "1.2.0", "description": "Integration of mailbox.org", "main": "index.js", "author": "Jonas Hilke ", diff --git a/uncompressed/mailbox.org/webview.js b/uncompressed/mailbox.org/webview.js index 114ebea..56cfa6e 100644 --- a/uncompressed/mailbox.org/webview.js +++ b/uncompressed/mailbox.org/webview.js @@ -1,11 +1,9 @@ -'use strict'; - -module.exports = Franz => { +module.exports = (Franz) => { const getMessages = function getMessages() { const count = document.querySelectorAll('.new-item').length; Franz.setBadge(count); + }; Franz.loop(getMessages); }; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1haWxib3gub3JnL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiZ2V0TWVzc2FnZXMiLCJjb3VudCIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvckFsbCIsImxlbmd0aCIsInNldEJhZGdlIiwibG9vcCJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFrQkMsS0FBRCxJQUFXO0FBQzFCLFFBQU1DLGNBQWMsU0FBU0EsV0FBVCxHQUF1QjtBQUN6QyxVQUFNQyxRQUFRQyxTQUFTQyxnQkFBVCxDQUEwQixXQUExQixFQUF1Q0MsTUFBckQ7O0FBRUFMLFVBQU1NLFFBQU4sQ0FBZUosS0FBZjtBQUVELEdBTEQ7QUFNQUYsUUFBTU8sSUFBTixDQUFXTixXQUFYO0FBQ0QsQ0FSRCIsImZpbGUiOiJtYWlsYm94Lm9yZy93ZWJ2aWV3LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSAoRnJhbnopID0+IHtcclxuICBjb25zdCBnZXRNZXNzYWdlcyA9IGZ1bmN0aW9uIGdldE1lc3NhZ2VzKCkge1xyXG4gICAgY29uc3QgY291bnQgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcubmV3LWl0ZW0nKS5sZW5ndGg7XHJcblxyXG4gICAgRnJhbnouc2V0QmFkZ2UoY291bnQpO1xyXG5cdFxyXG4gIH07XHJcbiAgRnJhbnoubG9vcChnZXRNZXNzYWdlcyk7XHJcbn07XHJcbiJdfQ== \ No newline at end of file -- cgit v1.2.3-54-g00ecf