From 3c324ac8803005c5e58ba96bae48a2c4ed6a0026 Mon Sep 17 00:00:00 2001 From: Dick Tang Date: Tue, 29 Aug 2023 18:00:06 +0800 Subject: [PATCH] new recipes: poe --- 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 000000000..5473bcb5d --- /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 000000000..dd41f7287 --- /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 000000000..58a6829f7 --- /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 000000000..11192196b --- /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')); +};