aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/onenote
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-11-10 18:13:31 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-11-10 18:13:31 +0530
commitbe49a2626a471d33ac0803eb2b5afa1807e2e23e (patch)
treea4df2f05b9b060fb878519a1b18eb73e7963316b /recipes/onenote
parentRefactor mandatory files needed in each recipe (diff)
downloadferdium-recipes-be49a2626a471d33ac0803eb2b5afa1807e2e23e.tar.gz
ferdium-recipes-be49a2626a471d33ac0803eb2b5afa1807e2e23e.tar.zst
ferdium-recipes-be49a2626a471d33ac0803eb2b5afa1807e2e23e.zip
Added 'webview.js' as a mandatory file and fixed broken recipes
Diffstat (limited to 'recipes/onenote')
-rw-r--r--recipes/onenote/package.json2
-rw-r--r--recipes/onenote/webview.js16
2 files changed, 17 insertions, 1 deletions
diff --git a/recipes/onenote/package.json b/recipes/onenote/package.json
index 2a7bf38..a9957d0 100644
--- a/recipes/onenote/package.json
+++ b/recipes/onenote/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "onenote", 2 "id": "onenote",
3 "name": "OneNote", 3 "name": "OneNote",
4 "version": "1.2.0", 4 "version": "1.3.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://onenote.com" 7 "serviceURL": "https://onenote.com"
diff --git a/recipes/onenote/webview.js b/recipes/onenote/webview.js
new file mode 100644
index 0000000..86bb422
--- /dev/null
+++ b/recipes/onenote/webview.js
@@ -0,0 +1,16 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges
9 // const getMessages = () => {
10 // // TODO: Insert your notification-finding code here
11 // Ferdium.setBadge(0, 0);
12 // };
13 // Ferdium.loop(getMessages);
14
15 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
16};