diff options
author | 2024-04-27 22:54:48 +0200 | |
---|---|---|
committer | 2024-05-04 13:33:08 +0000 | |
commit | e8a78954ea7b4056f3ea0aa18c37bad80d5c4010 (patch) | |
tree | 0e9d81ecd064f502c9fe4a1746d44031d3019c5f /recipes/azure-portal/webview.js | |
parent | chore: bump all recipes minor versions (diff) | |
download | ferdium-recipes-e8a78954ea7b4056f3ea0aa18c37bad80d5c4010.tar.gz ferdium-recipes-e8a78954ea7b4056f3ea0aa18c37bad80d5c4010.tar.zst ferdium-recipes-e8a78954ea7b4056f3ea0aa18c37bad80d5c4010.zip |
feat(recipes): add azure portal recipe
Diffstat (limited to 'recipes/azure-portal/webview.js')
-rw-r--r-- | recipes/azure-portal/webview.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/azure-portal/webview.js b/recipes/azure-portal/webview.js new file mode 100644 index 0000000..2a81dec --- /dev/null +++ b/recipes/azure-portal/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.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 | }; | ||