From f77dc60215f74c5b4578425a7fe9137f923b1c89 Mon Sep 17 00:00:00 2001 From: vaclavhodek Date: Sat, 27 May 2023 03:01:58 +0200 Subject: Add Localazy service recipe (#373) --- recipes/localazy/icon.svg | 4 ++++ recipes/localazy/index.js | 1 + recipes/localazy/package.json | 9 +++++++++ recipes/localazy/webview.js | 9 +++++++++ 4 files changed, 23 insertions(+) create mode 100644 recipes/localazy/icon.svg create mode 100644 recipes/localazy/index.js create mode 100644 recipes/localazy/package.json create mode 100644 recipes/localazy/webview.js (limited to 'recipes/localazy') diff --git a/recipes/localazy/icon.svg b/recipes/localazy/icon.svg new file mode 100644 index 0000000..599f517 --- /dev/null +++ b/recipes/localazy/icon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/recipes/localazy/index.js b/recipes/localazy/index.js new file mode 100644 index 0000000..e6ca7d8 --- /dev/null +++ b/recipes/localazy/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => class Localazy extends Ferdium {}; diff --git a/recipes/localazy/package.json b/recipes/localazy/package.json new file mode 100644 index 0000000..daec11f --- /dev/null +++ b/recipes/localazy/package.json @@ -0,0 +1,9 @@ +{ + "id": "localazy", + "name": "Localazy", + "version": "1.0.0", + "license": "MIT", + "config": { + "serviceURL": "https://localazy.com/my/dashboard" + } +} diff --git a/recipes/localazy/webview.js b/recipes/localazy/webview.js new file mode 100644 index 0000000..56a20b6 --- /dev/null +++ b/recipes/localazy/webview.js @@ -0,0 +1,9 @@ +const _path = _interopRequireDefault(require('path')); + +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; +} + +module.exports = Ferdium => { + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); +}; -- cgit v1.2.3-54-g00ecf