aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/google-duo
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/google-duo')
-rw-r--r--recipes/google-duo/package.json2
-rw-r--r--recipes/google-duo/webview.js16
2 files changed, 17 insertions, 1 deletions
diff --git a/recipes/google-duo/package.json b/recipes/google-duo/package.json
index 8d50a8e..9f45a5f 100644
--- a/recipes/google-duo/package.json
+++ b/recipes/google-duo/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "google-duo", 2 "id": "google-duo",
3 "name": "Google Duo", 3 "name": "Google Duo",
4 "version": "1.0.0", 4 "version": "1.1.0",
5 "license": "MIT", 5 "license": "MIT",
6 "repository": "https://github.com/AnalogCyan/recipe-franz-googleduo", 6 "repository": "https://github.com/AnalogCyan/recipe-franz-googleduo",
7 "config": { 7 "config": {
diff --git a/recipes/google-duo/webview.js b/recipes/google-duo/webview.js
new file mode 100644
index 0000000..86bb422
--- /dev/null
+++ b/recipes/google-duo/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};