From aab2304f2561b65a32ccb6be67f5ea74fad20bc7 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Tue, 14 Jan 2020 20:57:26 +0100 Subject: #12 Add Google Drive Recipe --- uncompressed/googledrive/README.md | 16 ++++++++++++++++ uncompressed/googledrive/icon.png | Bin 0 -> 11492 bytes uncompressed/googledrive/icon.svg | 1 + uncompressed/googledrive/index.js | 1 + uncompressed/googledrive/package.json | 25 +++++++++++++++++++++++++ uncompressed/googledrive/service.css | 5 +++++ uncompressed/googledrive/webview.js | 16 ++++++++++++++++ 7 files changed, 64 insertions(+) create mode 100644 uncompressed/googledrive/README.md create mode 100644 uncompressed/googledrive/icon.png create mode 100644 uncompressed/googledrive/icon.svg create mode 100644 uncompressed/googledrive/index.js create mode 100644 uncompressed/googledrive/package.json create mode 100644 uncompressed/googledrive/service.css create mode 100644 uncompressed/googledrive/webview.js (limited to 'uncompressed') diff --git a/uncompressed/googledrive/README.md b/uncompressed/googledrive/README.md new file mode 100644 index 0000000..2304ba2 --- /dev/null +++ b/uncompressed/googledrive/README.md @@ -0,0 +1,16 @@ +# 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 new file mode 100644 index 0000000..19fff5f Binary files /dev/null and b/uncompressed/googledrive/icon.png differ diff --git a/uncompressed/googledrive/icon.svg b/uncompressed/googledrive/icon.svg new file mode 100644 index 0000000..c7711c2 --- /dev/null +++ b/uncompressed/googledrive/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/uncompressed/googledrive/index.js b/uncompressed/googledrive/index.js new file mode 100644 index 0000000..9157a2e --- /dev/null +++ b/uncompressed/googledrive/index.js @@ -0,0 +1 @@ +module.exports = Franz => Franz; \ No newline at end of file diff --git a/uncompressed/googledrive/package.json b/uncompressed/googledrive/package.json new file mode 100644 index 0000000..9e228a1 --- /dev/null +++ b/uncompressed/googledrive/package.json @@ -0,0 +1,25 @@ +{ + "id": "googledrive", + "name": "Google Drive", + "version": "1.0.0", + "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 + } +} \ No newline at end of file diff --git a/uncompressed/googledrive/service.css b/uncompressed/googledrive/service.css new file mode 100644 index 0000000..b453fd4 --- /dev/null +++ b/uncompressed/googledrive/service.css @@ -0,0 +1,5 @@ +.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 new file mode 100644 index 0000000..64a0219 --- /dev/null +++ b/uncompressed/googledrive/webview.js @@ -0,0 +1,16 @@ +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-54-g00ecf