From 948bbe30694c09a7d58e669dc654c5b0a41f5cb1 Mon Sep 17 00:00:00 2001 From: Dick Tang Date: Sun, 3 Sep 2023 08:35:35 +0800 Subject: new recipes: poe (#410) --- recipes/poe/icon.svg | 74 ++++++++++++++++++++++++++++++++++++++++++++++++ recipes/poe/index.js | 1 + recipes/poe/package.json | 9 ++++++ recipes/poe/webview.js | 9 ++++++ 4 files changed, 93 insertions(+) create mode 100644 recipes/poe/icon.svg create mode 100644 recipes/poe/index.js create mode 100644 recipes/poe/package.json create mode 100644 recipes/poe/webview.js diff --git a/recipes/poe/icon.svg b/recipes/poe/icon.svg new file mode 100644 index 0000000..5473bcb --- /dev/null +++ b/recipes/poe/icon.svg @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/recipes/poe/index.js b/recipes/poe/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/poe/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => Ferdium; diff --git a/recipes/poe/package.json b/recipes/poe/package.json new file mode 100644 index 0000000..58a6829 --- /dev/null +++ b/recipes/poe/package.json @@ -0,0 +1,9 @@ +{ + "id": "poe", + "name": "poe", + "version": "1.0.0", + "license": "MIT", + "config": { + "serviceURL": "https://poe.com/" + } +} diff --git a/recipes/poe/webview.js b/recipes/poe/webview.js new file mode 100644 index 0000000..1119219 --- /dev/null +++ b/recipes/poe/webview.js @@ -0,0 +1,9 @@ +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; +} + +const _path = _interopRequireDefault(require('path')); + +module.exports = Ferdium => { + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); +}; -- cgit v1.2.3-54-g00ecf