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 --- uncompressed/googledrive/README.md | 16 ---------------- uncompressed/googledrive/icon.png | Bin 204548 -> 0 bytes uncompressed/googledrive/icon.svg | 1 - uncompressed/googledrive/index.js | 18 ------------------ uncompressed/googledrive/package.json | 25 ------------------------- uncompressed/googledrive/service.css | 5 ----- uncompressed/googledrive/webview.js | 16 ---------------- 7 files changed, 81 deletions(-) delete mode 100644 uncompressed/googledrive/README.md delete mode 100644 uncompressed/googledrive/icon.png delete mode 100644 uncompressed/googledrive/icon.svg delete mode 100644 uncompressed/googledrive/index.js delete mode 100644 uncompressed/googledrive/package.json delete mode 100644 uncompressed/googledrive/service.css delete mode 100644 uncompressed/googledrive/webview.js (limited to 'uncompressed/googledrive') diff --git a/uncompressed/googledrive/README.md b/uncompressed/googledrive/README.md deleted file mode 100644 index 2304ba2..0000000 --- a/uncompressed/googledrive/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Google Drive for Franz - -Google Drive Recipe for [Franz](http://meetfranz.com), fixed for files not being displayed. - -### Installation - -1. Download/clone this repo to your computer - -2. Copy the recipe folder to the following location (you may need to create the `dev` folder): -* Mac: `~/Library/Application Support/Franz/recipes/dev/` -* Windows: `%appdata%/Franz/recipes/dev/` -* Linux: `~/.config/Franz/recipes/dev` - -3. Relaod Franz - -4. Navigate to "Add Service -> Development" section in Franz. \ No newline at end of file diff --git a/uncompressed/googledrive/icon.png b/uncompressed/googledrive/icon.png deleted file mode 100644 index 98a647a..0000000 Binary files a/uncompressed/googledrive/icon.png and /dev/null differ diff --git a/uncompressed/googledrive/icon.svg b/uncompressed/googledrive/icon.svg deleted file mode 100644 index c7711c2..0000000 --- a/uncompressed/googledrive/icon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/uncompressed/googledrive/index.js b/uncompressed/googledrive/index.js deleted file mode 100644 index aacc1ac..0000000 --- a/uncompressed/googledrive/index.js +++ /dev/null @@ -1,18 +0,0 @@ -var os = require('os') - -module.exports = Franz => - class googledrive extends Franz { - modifyRequestHeaders() { - return [ - { - headers: { - 'user-agent': window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(), - 'origin': 'https://drive.google.com' - }, - requestFilters: { - urls: ['*://*/*'], - }, - }, - ]; - } - }; diff --git a/uncompressed/googledrive/package.json b/uncompressed/googledrive/package.json deleted file mode 100644 index 755dcff..0000000 --- a/uncompressed/googledrive/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "id": "googledrive", - "name": "Google Drive", - "version": "1.0.5", - "description": "Google Drive", - "main": "index.js", - "author": "Djonathan Goulart", - "repository": "https://github.com/BrianGilbert/franz-recipe-tawk", - "license": "MIT", - "config": { - "serviceURL": "https://drive.google.com/", - "serviceName": "Google Drive", - "message": "", - "popup": [], - "hasNotificationSound": false, - "hasIndirectMessages": false, - "hasTeamID": false, - "customURL": false, - "hostedOnly": false, - "webviewOptions": { - "disablewebsecurity": "" - }, - "openDevTools": false - } -} diff --git a/uncompressed/googledrive/service.css b/uncompressed/googledrive/service.css deleted file mode 100644 index b453fd4..0000000 --- a/uncompressed/googledrive/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/googledrive/webview.js b/uncompressed/googledrive/webview.js deleted file mode 100644 index 64a0219..0000000 --- a/uncompressed/googledrive/webview.js +++ /dev/null @@ -1,16 +0,0 @@ -module.exports = (Franz, options) => { - window.chrome = { - runtime: { - connect: () => { - return { - onMessage: { - addListener: () => {console.warn('chrome.runtime is not implemented')}, - removeListener: () => {console.warn('chrome.runtime is not implemented')}, - }, - postMessage: () => {console.warn('chrome.runtime is not implemented')}, - disconnect: () => {console.warn('chrome.runtime is not implemented')}, - } - } - } - } -} \ No newline at end of file -- cgit v1.2.3-70-g09d2