From f4a81fefe28c15bddba15a0a38a8bfb8019638a5 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Fri, 6 Mar 2020 12:27:00 +0100 Subject: Fix recipe differences This will make no functional changes - it will only remove any differences that existed between the recipe archives and uncompressed versions in order to make the verify-all script work. --- uncompressed/Google Meet/README.md | 12 ----- uncompressed/Google Meet/icon.png | Bin 94137 -> 0 bytes uncompressed/Google Meet/icon.svg | 53 --------------------- uncompressed/Google Meet/index.js | 6 --- uncompressed/Google Meet/package.json | 13 ----- uncompressed/Google Meet/service.css | 5 -- uncompressed/Google Meet/webview.js | 43 ----------------- uncompressed/googlemeet/README.md | 12 +++++ uncompressed/googlemeet/icon.png | Bin 0 -> 94137 bytes uncompressed/googlemeet/icon.svg | 53 +++++++++++++++++++++ uncompressed/googlemeet/index.js | 6 +++ uncompressed/googlemeet/package.json | 13 +++++ uncompressed/googlemeet/service.css | 5 ++ uncompressed/googlemeet/webview.js | 43 +++++++++++++++++ .../LICENSE | 21 -------- .../README.md | 5 -- .../icon.png | Bin 5283 -> 0 bytes .../icon.svg | 34 ------------- .../index.js | 3 -- .../package.json | 13 ----- .../webview.js | 3 -- uncompressed/tawk/icon.png | Bin 0 -> 77849 bytes 22 files changed, 132 insertions(+), 211 deletions(-) delete mode 100644 uncompressed/Google Meet/README.md delete mode 100644 uncompressed/Google Meet/icon.png delete mode 100644 uncompressed/Google Meet/icon.svg delete mode 100644 uncompressed/Google Meet/index.js delete mode 100644 uncompressed/Google Meet/package.json delete mode 100644 uncompressed/Google Meet/service.css delete mode 100644 uncompressed/Google Meet/webview.js create mode 100644 uncompressed/googlemeet/README.md create mode 100644 uncompressed/googlemeet/icon.png create mode 100644 uncompressed/googlemeet/icon.svg create mode 100644 uncompressed/googlemeet/index.js create mode 100644 uncompressed/googlemeet/package.json create mode 100644 uncompressed/googlemeet/service.css create mode 100644 uncompressed/googlemeet/webview.js delete mode 100755 uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/LICENSE delete mode 100755 uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/README.md delete mode 100644 uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/icon.png delete mode 100755 uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/icon.svg delete mode 100755 uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/index.js delete mode 100755 uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/package.json delete mode 100755 uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/webview.js create mode 100644 uncompressed/tawk/icon.png (limited to 'uncompressed') diff --git a/uncompressed/Google Meet/README.md b/uncompressed/Google Meet/README.md deleted file mode 100644 index 150d988..0000000 --- a/uncompressed/Google Meet/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# information -Google Meet Recipe for @getferdi 🥳 Download Ferdi at https://getferdi.com/ - -# how to import these recipes to your ferdi -1. Clone this repo to your computer -2. Rename this repo to a simple name like "gmeet" -3. Copy your renamed folder to the following locations (if there are not available you must create it) -* Mac: ~/Library/Application Support/Ferdi/recipes/dev/ -* Windows: %appdata%/Ferdi/recipes/dev/ -* Linux: ~/.config/Ferdi/recipes/dev -4. Reload Ferdi -5. Navigate to your "add service" section in Ferdi and added to yours. diff --git a/uncompressed/Google Meet/icon.png b/uncompressed/Google Meet/icon.png deleted file mode 100644 index 12a85fa..0000000 Binary files a/uncompressed/Google Meet/icon.png and /dev/null differ diff --git a/uncompressed/Google Meet/icon.svg b/uncompressed/Google Meet/icon.svg deleted file mode 100644 index 5fc0a19..0000000 --- a/uncompressed/Google Meet/icon.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/uncompressed/Google Meet/index.js b/uncompressed/Google Meet/index.js deleted file mode 100644 index 97c6a73..0000000 --- a/uncompressed/Google Meet/index.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = Franz => - class Gmail extends Franz { - overrideUserAgent() { - return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; - } - }; diff --git a/uncompressed/Google Meet/package.json b/uncompressed/Google Meet/package.json deleted file mode 100644 index 0c3a5fe..0000000 --- a/uncompressed/Google Meet/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "id": "Google Meet", - "name": "googlemeet", - "version": "1.0.1", - "description": "Google Meet", - "main": "index.js", - "author": "Patrick Thoelken ", - "license": "MIT", - "config": { - "serviceURL": "https://meet.google.com", - "hasNotificationSound": true - } -} diff --git a/uncompressed/Google Meet/service.css b/uncompressed/Google Meet/service.css deleted file mode 100644 index b453fd4..0000000 --- a/uncompressed/Google Meet/service.css +++ /dev/null @@ -1,5 +0,0 @@ -.app-wrapper-web .app { - width: 100% !important; - height: 100% !important; - top: 0 !important; -} diff --git a/uncompressed/Google Meet/webview.js b/uncompressed/Google Meet/webview.js deleted file mode 100644 index 8e91418..0000000 --- a/uncompressed/Google Meet/webview.js +++ /dev/null @@ -1,43 +0,0 @@ -"use strict"; - -const { - remote -} = require('electron'); - -const path = require('path'); - -const webContents = remote.getCurrentWebContents(); -const { - session -} = webContents; - -window.onload = () => { - const title = document.querySelector('.window-title').innerHTML; - - if (title && title.includes('Google Chrome 36+')) { - window.location.reload(); - } -}; - -module.exports = Franz => { - session.flushStorageData(); - session.clearStorageData({ - storages: ['serviceworkers'] - }); - - const getMessages = function getMessages() { - const elements = document.querySelectorAll('.CxUIE, .unread'); - let count = 0; - - for (let i = 0; i < elements.length; i += 1) { - if (elements[i].querySelectorAll('*[data-icon="muted"]').length === 0) { - count += 1; - } - } - - Franz.setBadge(count); - }; - - Franz.injectCSS(path.join(__dirname, 'service.css')); - Franz.loop(getMessages); -}; diff --git a/uncompressed/googlemeet/README.md b/uncompressed/googlemeet/README.md new file mode 100644 index 0000000..150d988 --- /dev/null +++ b/uncompressed/googlemeet/README.md @@ -0,0 +1,12 @@ +# information +Google Meet Recipe for @getferdi 🥳 Download Ferdi at https://getferdi.com/ + +# how to import these recipes to your ferdi +1. Clone this repo to your computer +2. Rename this repo to a simple name like "gmeet" +3. Copy your renamed folder to the following locations (if there are not available you must create it) +* Mac: ~/Library/Application Support/Ferdi/recipes/dev/ +* Windows: %appdata%/Ferdi/recipes/dev/ +* Linux: ~/.config/Ferdi/recipes/dev +4. Reload Ferdi +5. Navigate to your "add service" section in Ferdi and added to yours. diff --git a/uncompressed/googlemeet/icon.png b/uncompressed/googlemeet/icon.png new file mode 100644 index 0000000..12a85fa Binary files /dev/null and b/uncompressed/googlemeet/icon.png differ diff --git a/uncompressed/googlemeet/icon.svg b/uncompressed/googlemeet/icon.svg new file mode 100644 index 0000000..5fc0a19 --- /dev/null +++ b/uncompressed/googlemeet/icon.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/uncompressed/googlemeet/index.js b/uncompressed/googlemeet/index.js new file mode 100644 index 0000000..97c6a73 --- /dev/null +++ b/uncompressed/googlemeet/index.js @@ -0,0 +1,6 @@ +module.exports = Franz => + class Gmail extends Franz { + overrideUserAgent() { + return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; + } + }; diff --git a/uncompressed/googlemeet/package.json b/uncompressed/googlemeet/package.json new file mode 100644 index 0000000..1c684db --- /dev/null +++ b/uncompressed/googlemeet/package.json @@ -0,0 +1,13 @@ +{ + "id": "googlemeet", + "name": "Google Meet", + "version": "1.0.1", + "description": "Google Meet", + "main": "index.js", + "author": "Patrick Thoelken ", + "license": "MIT", + "config": { + "serviceURL": "https://meet.google.com", + "hasNotificationSound": true + } +} diff --git a/uncompressed/googlemeet/service.css b/uncompressed/googlemeet/service.css new file mode 100644 index 0000000..b453fd4 --- /dev/null +++ b/uncompressed/googlemeet/service.css @@ -0,0 +1,5 @@ +.app-wrapper-web .app { + width: 100% !important; + height: 100% !important; + top: 0 !important; +} diff --git a/uncompressed/googlemeet/webview.js b/uncompressed/googlemeet/webview.js new file mode 100644 index 0000000..8e91418 --- /dev/null +++ b/uncompressed/googlemeet/webview.js @@ -0,0 +1,43 @@ +"use strict"; + +const { + remote +} = require('electron'); + +const path = require('path'); + +const webContents = remote.getCurrentWebContents(); +const { + session +} = webContents; + +window.onload = () => { + const title = document.querySelector('.window-title').innerHTML; + + if (title && title.includes('Google Chrome 36+')) { + window.location.reload(); + } +}; + +module.exports = Franz => { + session.flushStorageData(); + session.clearStorageData({ + storages: ['serviceworkers'] + }); + + const getMessages = function getMessages() { + const elements = document.querySelectorAll('.CxUIE, .unread'); + let count = 0; + + for (let i = 0; i < elements.length; i += 1) { + if (elements[i].querySelectorAll('*[data-icon="muted"]').length === 0) { + count += 1; + } + } + + Franz.setBadge(count); + }; + + Franz.injectCSS(path.join(__dirname, 'service.css')); + Franz.loop(getMessages); +}; diff --git a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/LICENSE b/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/LICENSE deleted file mode 100755 index 95f7444..0000000 --- a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2017 Yuriy Badalyantc - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/README.md b/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/README.md deleted file mode 100755 index 36ba2d0..0000000 --- a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Habitica for Franz -This is the Franz recipe for [Habitica](https://habitica.com) - -### How to create your own Franz recipes: -* [Read the documentation](https://github.com/meetfranz/plugins) diff --git a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/icon.png b/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/icon.png deleted file mode 100644 index 094734b..0000000 Binary files a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/icon.png and /dev/null differ diff --git a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/icon.svg b/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/icon.svg deleted file mode 100755 index 6cbda6a..0000000 --- a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/icon.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - -Created by potrace 1.15, written by Peter Selinger 2001-2017 - - - - - - diff --git a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/index.js b/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/index.js deleted file mode 100755 index 17daa35..0000000 --- a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/index.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; - -module.exports = Franz => Franz; diff --git a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/package.json b/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/package.json deleted file mode 100755 index 13f36bd..0000000 --- a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "id": "habitica", - "name": "Habitica", - "version": "1.0.0", - "description": "Habitica", - "main": "index.js", - "license": "MIT", - "author": "Yuriy Badalyantc ", - "repository": "https://github.com/lmnet/franz-recipe-notion", - "config": { - "serviceURL": "https://habitica.com" - } -} diff --git a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/webview.js b/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/webview.js deleted file mode 100755 index 17daa35..0000000 --- a/uncompressed/mastodon/rjbernaldo-franz-recipe-habitica-0eb648d/webview.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; - -module.exports = Franz => Franz; diff --git a/uncompressed/tawk/icon.png b/uncompressed/tawk/icon.png new file mode 100644 index 0000000..937d753 Binary files /dev/null and b/uncompressed/tawk/icon.png differ -- cgit v1.2.3-54-g00ecf