diff options
Diffstat (limited to 'recipes/superlist')
-rw-r--r-- | recipes/superlist/icon.svg | 13 | ||||
-rw-r--r-- | recipes/superlist/index.js | 1 | ||||
-rw-r--r-- | recipes/superlist/package.json | 10 | ||||
-rw-r--r-- | recipes/superlist/webview.js | 16 |
4 files changed, 40 insertions, 0 deletions
diff --git a/recipes/superlist/icon.svg b/recipes/superlist/icon.svg new file mode 100644 index 0000000..980a47e --- /dev/null +++ b/recipes/superlist/icon.svg | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Generator: Adobe Illustrator 28.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | ||
3 | <svg version="1.1" id="layer" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | ||
4 | viewBox="0 0 652 652" style="enable-background:new 0 0 652 652;" xml:space="preserve"> | ||
5 | <style type="text/css"> | ||
6 | .st0{fill:#FF5043;} | ||
7 | </style> | ||
8 | <path class="st0" d="M326,1C145.85,1,1,145.85,1,326s144.85,325,325,325s325-144.85,325-325S505.69,1,326,1z M468.1,371.84 | ||
9 | L309.5,493.77c-2.75,2.75-8.25,4.13-12.38,2.75c-6.88-1.38-11-9.63-8.25-16.04l20.17-90.76c0-1.38,0-2.75-1.38-4.13l-124.68-79.76 | ||
10 | c-1.38-1.38-4.13-2.75-5.5-4.13c-5.5-6.88-4.13-17.42,4.13-22.92l158.6-121.93c2.75-2.75,8.25-4.13,12.38-2.75 | ||
11 | c6.88,1.38,11,9.63,8.25,16.04l-20.17,90.76c0,1.38,0,2.75,1.38,4.13l124.68,79.76c1.38,1.38,4.13,2.75,5.5,4.13 | ||
12 | C477.27,357.17,475.89,366.8,468.1,371.84z"/> | ||
13 | </svg> | ||
diff --git a/recipes/superlist/index.js b/recipes/superlist/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/superlist/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = Ferdium => Ferdium; | |||
diff --git a/recipes/superlist/package.json b/recipes/superlist/package.json new file mode 100644 index 0000000..a8bde3d --- /dev/null +++ b/recipes/superlist/package.json | |||
@@ -0,0 +1,10 @@ | |||
1 | { | ||
2 | "id": "superlist", | ||
3 | "name": "Superlist", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://app.superlist.com", | ||
8 | "hasNotificationSound": true | ||
9 | } | ||
10 | } | ||
diff --git a/recipes/superlist/webview.js b/recipes/superlist/webview.js new file mode 100644 index 0000000..2a81dec --- /dev/null +++ b/recipes/superlist/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
9 | // const getMessages = () => { | ||
10 | // // TODO: Insert your notification-finding code here | ||
11 | // Ferdium.setBadge(0, 0); | ||
12 | // }; | ||
13 | // Ferdium.loop(getMessages); | ||
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
16 | }; | ||