From aad356e2f38c3933a09438fe61dfd93b46541410 Mon Sep 17 00:00:00 2001 From: S Wulf Date: Mon, 15 May 2023 01:19:35 +0200 Subject: Add awork recipe (#355) --- recipes/awork/icon.svg | 3 +++ recipes/awork/index.js | 1 + recipes/awork/package.json | 11 +++++++++++ recipes/awork/webview.js | 9 +++++++++ 4 files changed, 24 insertions(+) create mode 100644 recipes/awork/icon.svg create mode 100644 recipes/awork/index.js create mode 100644 recipes/awork/package.json create mode 100644 recipes/awork/webview.js (limited to 'recipes/awork') diff --git a/recipes/awork/icon.svg b/recipes/awork/icon.svg new file mode 100644 index 0000000..4e43027 --- /dev/null +++ b/recipes/awork/icon.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/recipes/awork/index.js b/recipes/awork/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/awork/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => Ferdium; diff --git a/recipes/awork/package.json b/recipes/awork/package.json new file mode 100644 index 0000000..fb221cd --- /dev/null +++ b/recipes/awork/package.json @@ -0,0 +1,11 @@ +{ + "id": "awork", + "name": "Awork", + "version": "1.0.0", + "license": "MIT", + "config": { + "serviceURL": "https://{teamId}.awork.io", + "hasTeamId": true, + "urlInputSuffix": ".awork.io" + } +} \ No newline at end of file diff --git a/recipes/awork/webview.js b/recipes/awork/webview.js new file mode 100644 index 0000000..46366f4 --- /dev/null +++ b/recipes/awork/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')); +}; \ No newline at end of file -- cgit v1.2.3-54-g00ecf