diff options
author | vantezzen <hello@vantezzen.io> | 2020-01-14 20:57:26 +0100 |
---|---|---|
committer | vantezzen <hello@vantezzen.io> | 2020-01-14 20:57:26 +0100 |
commit | aab2304f2561b65a32ccb6be67f5ea74fad20bc7 (patch) | |
tree | ab4cddb236538ab62e2a1b25a13b0878c8ed08ed /uncompressed/googledrive | |
parent | Add info on usage of the GitHub script (diff) | |
download | ferdium-recipes-aab2304f2561b65a32ccb6be67f5ea74fad20bc7.tar.gz ferdium-recipes-aab2304f2561b65a32ccb6be67f5ea74fad20bc7.tar.zst ferdium-recipes-aab2304f2561b65a32ccb6be67f5ea74fad20bc7.zip |
#12 Add Google Drive Recipe
Diffstat (limited to 'uncompressed/googledrive')
-rw-r--r-- | uncompressed/googledrive/README.md | 16 | ||||
-rw-r--r-- | uncompressed/googledrive/icon.png | bin | 0 -> 11492 bytes | |||
-rw-r--r-- | uncompressed/googledrive/icon.svg | 1 | ||||
-rw-r--r-- | uncompressed/googledrive/index.js | 1 | ||||
-rw-r--r-- | uncompressed/googledrive/package.json | 25 | ||||
-rw-r--r-- | uncompressed/googledrive/service.css | 5 | ||||
-rw-r--r-- | uncompressed/googledrive/webview.js | 16 |
7 files changed, 64 insertions, 0 deletions
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 @@ | |||
1 | # Google Drive for Franz | ||
2 | |||
3 | Google Drive Recipe for [Franz](http://meetfranz.com), fixed for files not being displayed. | ||
4 | |||
5 | ### Installation | ||
6 | |||
7 | 1. Download/clone this repo to your computer | ||
8 | |||
9 | 2. Copy the recipe folder to the following location (you may need to create the `dev` folder): | ||
10 | * Mac: `~/Library/Application Support/Franz/recipes/dev/` | ||
11 | * Windows: `%appdata%/Franz/recipes/dev/` | ||
12 | * Linux: `~/.config/Franz/recipes/dev` | ||
13 | |||
14 | 3. Relaod Franz | ||
15 | |||
16 | 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 --- /dev/null +++ b/uncompressed/googledrive/icon.png | |||
Binary files 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 @@ | |||
<svg viewBox="0 0 139 120.4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><radialGradient id="a" cx="-254.81979" cy="705.83588" gradientTransform="matrix(2.827 1.6322 -1.6322 2.827 2092.1199 -1494.5786)" gradientUnits="userSpaceOnUse" r="82.978401"><stop offset="0" stop-color="#4387fd"/><stop offset=".65" stop-color="#3078f0"/><stop offset=".9099" stop-color="#2b72ea"/><stop offset="1" stop-color="#286ee6"/></radialGradient><radialGradient id="b" cx="-254.8174" cy="705.83691" gradientTransform="matrix(2.827 1.6322 -1.6322 2.827 2092.1199 -1494.5786)" gradientUnits="userSpaceOnUse" r="82.973"><stop offset="0" stop-color="#ffd24d"/><stop offset="1" stop-color="#f6c338"/></radialGradient><path d="m24.2 120.4-24.2-41.9 45.3-78.5 24.2 41.9z" fill="#0da960"/><path d="m24.2 120.4 24.2-41.9h90.6l-24.2 41.9z" fill="url(#a)"/><path d="m139 78.5h-48.4l-45.3-78.5h48.4z" fill="url(#b)"/><path d="m69.5 78.5h-21.1l10.5-18.3-34.7 60.2z" fill="#2d6fdd"/><path d="m90.6 78.5h48.4l-58.9-18.3z" fill="#e5b93c"/><path d="m58.9 60.2 10.6-18.3-24.2-41.9z" fill="#0c9b57"/></svg> \ 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 @@ | |||
1 | { | ||
2 | "id": "googledrive", | ||
3 | "name": "Google Drive", | ||
4 | "version": "1.0.0", | ||
5 | "description": "Google Drive", | ||
6 | "main": "index.js", | ||
7 | "author": "Djonathan Goulart<d.goulart@outlook.com.br>", | ||
8 | "repository": "https://github.com/BrianGilbert/franz-recipe-tawk", | ||
9 | "license": "MIT", | ||
10 | "config": { | ||
11 | "serviceURL": "https://drive.google.com/", | ||
12 | "serviceName": "Google Drive", | ||
13 | "message": "", | ||
14 | "popup": [], | ||
15 | "hasNotificationSound": false, | ||
16 | "hasIndirectMessages": false, | ||
17 | "hasTeamID": false, | ||
18 | "customURL": false, | ||
19 | "hostedOnly": false, | ||
20 | "webviewOptions": { | ||
21 | "disablewebsecurity": "" | ||
22 | }, | ||
23 | "openDevTools": false | ||
24 | } | ||
25 | } \ 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 @@ | |||
1 | .app-wrapper-web .app { | ||
2 | width: 100% !important; | ||
3 | height: 100% !important; | ||
4 | top: 0 !important; | ||
5 | } | ||
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 @@ | |||
1 | module.exports = (Franz, options) => { | ||
2 | window.chrome = { | ||
3 | runtime: { | ||
4 | connect: () => { | ||
5 | return { | ||
6 | onMessage: { | ||
7 | addListener: () => {console.warn('chrome.runtime is not implemented')}, | ||
8 | removeListener: () => {console.warn('chrome.runtime is not implemented')}, | ||
9 | }, | ||
10 | postMessage: () => {console.warn('chrome.runtime is not implemented')}, | ||
11 | disconnect: () => {console.warn('chrome.runtime is not implemented')}, | ||
12 | } | ||
13 | } | ||
14 | } | ||
15 | } | ||
16 | } \ No newline at end of file | ||