From eaed241465a5b2dc0efc479f36b7c9375bcdd587 Mon Sep 17 00:00:00 2001 From: Dmitry Rubtsov Date: Sat, 7 Dec 2024 18:51:48 +0600 Subject: [PATCH] add trilium recipe --- recipes/trilium/icon.svg | 28 ++++++++++++++++++++++++++++ recipes/trilium/index.js | 1 + recipes/trilium/package.json | 9 +++++++++ recipes/trilium/webview.js | 9 +++++++++ 4 files changed, 47 insertions(+) create mode 100644 recipes/trilium/icon.svg create mode 100644 recipes/trilium/index.js create mode 100644 recipes/trilium/package.json create mode 100644 recipes/trilium/webview.js diff --git a/recipes/trilium/icon.svg b/recipes/trilium/icon.svg new file mode 100644 index 000000000..3ed78b3ad --- /dev/null +++ b/recipes/trilium/icon.svg @@ -0,0 +1,28 @@ + + + TrilliumNext Notes + + + + + + + + + + + + + + + diff --git a/recipes/trilium/index.js b/recipes/trilium/index.js new file mode 100644 index 000000000..dd41f7287 --- /dev/null +++ b/recipes/trilium/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => Ferdium; diff --git a/recipes/trilium/package.json b/recipes/trilium/package.json new file mode 100644 index 000000000..b0982d8d4 --- /dev/null +++ b/recipes/trilium/package.json @@ -0,0 +1,9 @@ +{ + "id": "trilium", + "name": "Trilium", + "version": "1.0.0", + "license": "MIT", + "config": { + "hasCustomUrl": true + } +} diff --git a/recipes/trilium/webview.js b/recipes/trilium/webview.js new file mode 100644 index 000000000..0c78f67f5 --- /dev/null +++ b/recipes/trilium/webview.js @@ -0,0 +1,9 @@ +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; +} + +const _path = _interopRequireDefault(require('path')); + +module.exports = Trilium => { + Trilium.injectCSS(_path.default.join(__dirname, 'service.css')); +};