From 1f2ef43556c849aa4c29604c74af95b2c7e8ba0e Mon Sep 17 00:00:00 2001 From: Lincoln Nogueira Date: Thu, 2 Nov 2023 09:35:14 -0300 Subject: feat: add memos recipe (#445) --- recipes/memos/icon.svg | 74 ++++++++++++++++++++++++++++++++++++++++++++++ recipes/memos/index.js | 1 + recipes/memos/package.json | 15 ++++++++++ recipes/memos/webview.js | 9 ++++++ 4 files changed, 99 insertions(+) create mode 100644 recipes/memos/icon.svg create mode 100644 recipes/memos/index.js create mode 100644 recipes/memos/package.json create mode 100644 recipes/memos/webview.js (limited to 'recipes/memos') diff --git a/recipes/memos/icon.svg b/recipes/memos/icon.svg new file mode 100644 index 0000000..8ee8786 --- /dev/null +++ b/recipes/memos/icon.svg @@ -0,0 +1,74 @@ + + + + + + + + + + + + + diff --git a/recipes/memos/index.js b/recipes/memos/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/memos/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => Ferdium; diff --git a/recipes/memos/package.json b/recipes/memos/package.json new file mode 100644 index 0000000..e87fd4f --- /dev/null +++ b/recipes/memos/package.json @@ -0,0 +1,15 @@ +{ + "id": "memos", + "name": "memos", + "version": "1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/usememos/memos" + }, + "config": { + "message": "A self-hosted privacy-first, lightweight note-taking service. Easily capture and share your great thoughts.", + "hasCustomUrl": true, + "hasDirectMessages": false + } +} diff --git a/recipes/memos/webview.js b/recipes/memos/webview.js new file mode 100644 index 0000000..1119219 --- /dev/null +++ b/recipes/memos/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