From 8f0b49d8bba1d88ccb0db6051bf62c5729d328e4 Mon Sep 17 00:00:00 2001 From: YaMoef Date: Fri, 11 Oct 2024 22:39:55 +0200 Subject: [PATCH 1/2] feat(rydoo): add recipe --- recipes/rydoo/icon.svg | 20 ++++++++++++++++++++ recipes/rydoo/index.js | 1 + recipes/rydoo/package.json | 9 +++++++++ recipes/rydoo/webview.js | 16 ++++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 recipes/rydoo/icon.svg create mode 100644 recipes/rydoo/index.js create mode 100644 recipes/rydoo/package.json create mode 100644 recipes/rydoo/webview.js diff --git a/recipes/rydoo/icon.svg b/recipes/rydoo/icon.svg new file mode 100644 index 000000000..f3591d454 --- /dev/null +++ b/recipes/rydoo/icon.svg @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/recipes/rydoo/index.js b/recipes/rydoo/index.js new file mode 100644 index 000000000..427033792 --- /dev/null +++ b/recipes/rydoo/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => class Rydoo extends Ferdium {}; diff --git a/recipes/rydoo/package.json b/recipes/rydoo/package.json new file mode 100644 index 000000000..c2cba88e2 --- /dev/null +++ b/recipes/rydoo/package.json @@ -0,0 +1,9 @@ +{ + "id": "rydoo", + "name": "Rydoo", + "version": "1.0.1", + "license": "MIT", + "config": { + "serviceURL": "https://app.rydoo.com/" + } +} diff --git a/recipes/rydoo/webview.js b/recipes/rydoo/webview.js new file mode 100644 index 000000000..2a81dec32 --- /dev/null +++ b/recipes/rydoo/webview.js @@ -0,0 +1,16 @@ +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; +} + +const _path = _interopRequireDefault(require('path')); + +module.exports = Ferdium => { + // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges + // const getMessages = () => { + // // TODO: Insert your notification-finding code here + // Ferdium.setBadge(0, 0); + // }; + // Ferdium.loop(getMessages); + + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); +}; From b5af3f3812cc963c3d07a6550f07832d1a070991 Mon Sep 17 00:00:00 2001 From: YaMoef Date: Sat, 12 Oct 2024 21:01:44 +0200 Subject: [PATCH 2/2] fix(Rydoo): set version to 1.0.0 --- recipes/rydoo/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/rydoo/package.json b/recipes/rydoo/package.json index c2cba88e2..c7aac5bc6 100644 --- a/recipes/rydoo/package.json +++ b/recipes/rydoo/package.json @@ -1,7 +1,7 @@ { "id": "rydoo", "name": "Rydoo", - "version": "1.0.1", + "version": "1.0.0", "license": "MIT", "config": { "serviceURL": "https://app.rydoo.com/"