From 6a3e5ec01b13a71793af6ac9010f25091731e2a0 Mon Sep 17 00:00:00 2001 From: Victor B <39555268+victorbnl@users.noreply.github.com> Date: Thu, 20 Jul 2023 01:33:37 +0200 Subject: [PATCH] Add Bard recipe (#389) --- recipes/bard/icon.svg | 22 ++++++++++++++++++++++ recipes/bard/index.js | 1 + recipes/bard/package.json | 9 +++++++++ recipes/bard/webview.js | 9 +++++++++ 4 files changed, 41 insertions(+) create mode 100644 recipes/bard/icon.svg create mode 100644 recipes/bard/index.js create mode 100644 recipes/bard/package.json create mode 100644 recipes/bard/webview.js diff --git a/recipes/bard/icon.svg b/recipes/bard/icon.svg new file mode 100644 index 000000000..04f6b8dd3 --- /dev/null +++ b/recipes/bard/icon.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/recipes/bard/index.js b/recipes/bard/index.js new file mode 100644 index 000000000..dd41f7287 --- /dev/null +++ b/recipes/bard/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => Ferdium; diff --git a/recipes/bard/package.json b/recipes/bard/package.json new file mode 100644 index 000000000..250b49fbb --- /dev/null +++ b/recipes/bard/package.json @@ -0,0 +1,9 @@ +{ + "id": "bard", + "name": "Bard", + "version": "1.0.0", + "license": "MIT", + "config": { + "serviceURL": "https://bard.google.com/" + } +} diff --git a/recipes/bard/webview.js b/recipes/bard/webview.js new file mode 100644 index 000000000..56a20b6e3 --- /dev/null +++ b/recipes/bard/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')); +};