From 6a12a29e1224939aa115a14715a4415e14b0b389 Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Thu, 19 Jan 2023 22:50:09 +0000 Subject: feat: add several recipes (#293) --- recipes/elevate/icon.svg | 13 +++++++++++++ recipes/elevate/index.js | 1 + recipes/elevate/package.json | 9 +++++++++ recipes/elevate/webview.js | 9 +++++++++ 4 files changed, 32 insertions(+) create mode 100644 recipes/elevate/icon.svg create mode 100644 recipes/elevate/index.js create mode 100644 recipes/elevate/package.json create mode 100644 recipes/elevate/webview.js (limited to 'recipes/elevate') diff --git a/recipes/elevate/icon.svg b/recipes/elevate/icon.svg new file mode 100644 index 0000000..053944b --- /dev/null +++ b/recipes/elevate/icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + diff --git a/recipes/elevate/index.js b/recipes/elevate/index.js new file mode 100644 index 0000000..cf9a0d7 --- /dev/null +++ b/recipes/elevate/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => class Elevate extends Ferdium {}; diff --git a/recipes/elevate/package.json b/recipes/elevate/package.json new file mode 100644 index 0000000..25d4eb1 --- /dev/null +++ b/recipes/elevate/package.json @@ -0,0 +1,9 @@ +{ + "id": "elevate", + "name": "Elevate", + "version": "1.0.0", + "license": "MIT", + "config": { + "serviceURL": "https://elevate.serverdata.net" + } +} diff --git a/recipes/elevate/webview.js b/recipes/elevate/webview.js new file mode 100644 index 0000000..56a20b6 --- /dev/null +++ b/recipes/elevate/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-70-g09d2