diff options
author | 2019-12-11 12:00:24 +0100 | |
---|---|---|
committer | 2019-12-11 12:00:24 +0100 | |
commit | 145e2684053971db48c2f0779504f32f141eea61 (patch) | |
tree | 194740426fb8129c740675104946ff9724ca6202 /uncompressed/proton-mail | |
parent | Update packages (diff) | |
download | ferdium-recipes-145e2684053971db48c2f0779504f32f141eea61.tar.gz ferdium-recipes-145e2684053971db48c2f0779504f32f141eea61.tar.zst ferdium-recipes-145e2684053971db48c2f0779504f32f141eea61.zip |
Update ProtonMail recipe
Diffstat (limited to 'uncompressed/proton-mail')
-rw-r--r-- | uncompressed/proton-mail/icon.png | bin | 25062 -> 29418 bytes | |||
-rw-r--r-- | uncompressed/proton-mail/icon.svg | 12 | ||||
-rw-r--r-- | uncompressed/proton-mail/index.js | 3 | ||||
-rw-r--r-- | uncompressed/proton-mail/package.json | 2 | ||||
-rw-r--r-- | uncompressed/proton-mail/webview.js | 11 |
5 files changed, 12 insertions, 16 deletions
diff --git a/uncompressed/proton-mail/icon.png b/uncompressed/proton-mail/icon.png index a171209..8a6bc85 100644 --- a/uncompressed/proton-mail/icon.png +++ b/uncompressed/proton-mail/icon.png | |||
Binary files differ | |||
diff --git a/uncompressed/proton-mail/icon.svg b/uncompressed/proton-mail/icon.svg index c71c72a..df35f12 100644 --- a/uncompressed/proton-mail/icon.svg +++ b/uncompressed/proton-mail/icon.svg | |||
@@ -1,7 +1,9 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="477.688px" height="670.725px" viewBox="0 0 477.688 670.725"> | 2 | <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> |
3 | <g fill="#336"> | 3 | <svg width="100%" height="100%" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"> |
4 | <path d="M238.688,0.021c0,0-197.877-6.5-238.688,213v149.5c0,0,1.688,16,46.688,48.5s161.5,124,192,124s147-91.5,192-124 s46.688-48.5,46.688-48.5v-149.5C436.565-6.479,238.688,0.021,238.688,0.021z M374.188,294.521h-135.5h-135.5v-81.5 c27.5-109,135.5-110.5,135.5-110.5s108,1.5,135.5,110.5V294.521z"/> | 4 | <g transform="matrix(1.52334,0,0,1.52334,148,0.999645)"> |
5 | <path d="M238.688,568.688c0,0-30.667-3.001-54.667-19.667S0,418.021,0,418.021v226.334c0,0,1.355,26.333,30.355,26.333 s208.333,0,208.333,0s179.333,0,208.333,0s30.355-26.333,30.355-26.333V418.021c0,0-160.022,114.334-184.022,131 S238.688,568.688,238.688,568.688z"/> | 5 | <path d="M238.688,0.021C238.688,0.021 40.811,-6.479 0,213.021L0,362.521C0,362.521 1.688,378.521 46.688,411.021C91.688,443.521 208.188,535.021 238.688,535.021C269.188,535.021 385.688,443.521 430.688,411.021C475.688,378.521 477.376,362.521 477.376,362.521L477.376,213.021C436.565,-6.479 238.688,0.021 238.688,0.021ZM374.188,294.521L238.688,294.521L103.188,294.521L103.188,213.021C130.688,104.021 238.688,102.521 238.688,102.521C238.688,102.521 346.688,104.021 374.188,213.021L374.188,294.521Z" style="fill:rgb(51,51,102);fill-rule:nonzero;"/> |
6 | </g> | 6 | <path d="M238.688,568.688C238.688,568.688 208.021,565.687 184.021,549.021C160.021,532.355 0,418.021 0,418.021L0,644.355C0,644.355 1.355,670.688 30.355,670.688L447.021,670.688C476.021,670.688 477.376,644.355 477.376,644.355L477.376,418.021C477.376,418.021 317.354,532.355 293.354,549.021C269.354,565.687 238.688,568.688 238.688,568.688Z" style="fill:rgb(51,51,102);fill-rule:nonzero;"/> |
7 | </g> | ||
7 | </svg> | 8 | </svg> |
9 | |||
diff --git a/uncompressed/proton-mail/index.js b/uncompressed/proton-mail/index.js index 84b5537..258da41 100644 --- a/uncompressed/proton-mail/index.js +++ b/uncompressed/proton-mail/index.js | |||
@@ -1,4 +1 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => Franz; | module.exports = Franz => Franz; | |
4 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb3Rvbi1tYWlsL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoicHJvdG9uLW1haWwvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19 \ No newline at end of file | ||
diff --git a/uncompressed/proton-mail/package.json b/uncompressed/proton-mail/package.json index bf82335..9046079 100644 --- a/uncompressed/proton-mail/package.json +++ b/uncompressed/proton-mail/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "proton-mail", | 2 | "id": "proton-mail", |
3 | "name": "proton-mail", | 3 | "name": "proton-mail", |
4 | "version": "1.0.0", | 4 | "version": "1.1.0", |
5 | "description": "proton-mail", | 5 | "description": "proton-mail", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Lukas Reineke <lukas.reineke@protonmail.com>", | 7 | "author": "Lukas Reineke <lukas.reineke@protonmail.com>", |
diff --git a/uncompressed/proton-mail/webview.js b/uncompressed/proton-mail/webview.js index 90ca648..8d85afd 100644 --- a/uncompressed/proton-mail/webview.js +++ b/uncompressed/proton-mail/webview.js | |||
@@ -1,10 +1,7 @@ | |||
1 | 'use strict'; | ||
2 | |||
3 | module.exports = Franz => { | 1 | module.exports = Franz => { |
4 | function getMessages() { | 2 | function getMessages() { |
5 | const count = document.querySelector('.navigationItem-counter').innerText; | 3 | const count = document.querySelector('.navigationItem-counter').innerText |
6 | Franz.setBadge(count ? count.substring(1, count.length - 1) : 0); | 4 | Franz.setBadge(count ? Number(count.substring(1, count.length - 1)) : 0) |
7 | } | 5 | } |
8 | Franz.loop(getMessages); | 6 | Franz.loop(getMessages) |
9 | }; | 7 | } |
10 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb3Rvbi1tYWlsL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiZ2V0TWVzc2FnZXMiLCJjb3VudCIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvciIsImlubmVyVGV4dCIsInNldEJhZGdlIiwic3Vic3RyaW5nIiwibGVuZ3RoIiwibG9vcCJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBUztBQUN0QixhQUFTQyxXQUFULEdBQXVCO0FBQ25CLGNBQU1DLFFBQVFDLFNBQVNDLGFBQVQsQ0FBdUIseUJBQXZCLEVBQWtEQyxTQUFoRTtBQUNBTCxjQUFNTSxRQUFOLENBQWVKLFFBQVFBLE1BQU1LLFNBQU4sQ0FBZ0IsQ0FBaEIsRUFBbUJMLE1BQU1NLE1BQU4sR0FBZSxDQUFsQyxDQUFSLEdBQStDLENBQTlEO0FBQ0g7QUFDRFIsVUFBTVMsSUFBTixDQUFXUixXQUFYO0FBQ0gsQ0FORCIsImZpbGUiOiJwcm90b24tbWFpbC93ZWJ2aWV3LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiB7XG4gICAgZnVuY3Rpb24gZ2V0TWVzc2FnZXMoKSB7XG4gICAgICAgIGNvbnN0IGNvdW50ID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcignLm5hdmlnYXRpb25JdGVtLWNvdW50ZXInKS5pbm5lclRleHRcbiAgICAgICAgRnJhbnouc2V0QmFkZ2UoY291bnQgPyBjb3VudC5zdWJzdHJpbmcoMSwgY291bnQubGVuZ3RoIC0gMSkgOiAwKVxuICAgIH1cbiAgICBGcmFuei5sb29wKGdldE1lc3NhZ2VzKVxufVxuIl19 \ No newline at end of file | ||