aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tutanota
diff options
context:
space:
mode:
authorLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2022-06-07 17:01:37 +0100
committerLibravatar GitHub <noreply@github.com>2022-06-07 16:01:37 +0000
commit54f3affd80401051db8464d6bed8ad4ed1e66fd1 (patch)
treed166ec91c97ec1220787c857f6e3c5004d13889b /recipes/tutanota
parentAdd home assistant recipe (#47) (diff)
downloadferdium-recipes-54f3affd80401051db8464d6bed8ad4ed1e66fd1.tar.gz
ferdium-recipes-54f3affd80401051db8464d6bed8ad4ed1e66fd1.tar.zst
ferdium-recipes-54f3affd80401051db8464d6bed8ad4ed1e66fd1.zip
Add webview.js to some services that were generated without it. (#42)
This had blocked users from manually generating a `service.css` which is what the documentation recommends as self-help to override styling. Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'recipes/tutanota')
-rw-r--r--recipes/tutanota/package.json2
-rw-r--r--recipes/tutanota/webview.js9
2 files changed, 10 insertions, 1 deletions
diff --git a/recipes/tutanota/package.json b/recipes/tutanota/package.json
index 678613f..a502009 100644
--- a/recipes/tutanota/package.json
+++ b/recipes/tutanota/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "tutanota", 2 "id": "tutanota",
3 "name": "Tutanota", 3 "name": "Tutanota",
4 "version": "1.2.0", 4 "version": "1.2.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://mail.tutanota.com/" 7 "serviceURL": "https://mail.tutanota.com/"
diff --git a/recipes/tutanota/webview.js b/recipes/tutanota/webview.js
new file mode 100644
index 0000000..46366f4
--- /dev/null
+++ b/recipes/tutanota/webview.js
@@ -0,0 +1,9 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9}; \ No newline at end of file