diff options
Diffstat (limited to 'recipes/traccar')
-rw-r--r-- | recipes/traccar/LICENSE | 21 | ||||
-rw-r--r-- | recipes/traccar/icon.svg | 16 | ||||
-rw-r--r-- | recipes/traccar/index.js | 1 | ||||
-rw-r--r-- | recipes/traccar/package.json | 11 | ||||
-rw-r--r-- | recipes/traccar/webview.js | 9 |
5 files changed, 58 insertions, 0 deletions
diff --git a/recipes/traccar/LICENSE b/recipes/traccar/LICENSE new file mode 100644 index 0000000..20b7e42 --- /dev/null +++ b/recipes/traccar/LICENSE | |||
@@ -0,0 +1,21 @@ | |||
1 | MIT License | ||
2 | |||
3 | Copyright (c) 2020 Tom Chapman | ||
4 | |||
5 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
6 | of this software and associated documentation files (the "Software"), to deal | ||
7 | in the Software without restriction, including without limitation the rights | ||
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
9 | copies of the Software, and to permit persons to whom the Software is | ||
10 | furnished to do so, subject to the following conditions: | ||
11 | |||
12 | The above copyright notice and this permission notice shall be included in all | ||
13 | copies or substantial portions of the Software. | ||
14 | |||
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
21 | SOFTWARE. | ||
diff --git a/recipes/traccar/icon.svg b/recipes/traccar/icon.svg new file mode 100644 index 0000000..2b5e467 --- /dev/null +++ b/recipes/traccar/icon.svg | |||
@@ -0,0 +1,16 @@ | |||
1 | <svg version="1.1" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"> | ||
2 | <g transform="matrix(16 0 0 16 .00556 .00316)"> | ||
3 | <g transform="matrix(1.25,0,0,1.25,-8.0001,-8.0002)"> | ||
4 | <circle transform="rotate(-30)" cx="11.713" cy="43.713" r="24.705" fill="#fff" stroke-width=".89115"/> | ||
5 | <g fill="#1a237e"> | ||
6 | <g stroke-width=".89115"> | ||
7 | <circle transform="rotate(-30)" cx="9.7033" cy="43.713" r="2.0096"/> | ||
8 | <path d="m36.425 25.095-2.5095 3.1892c0.58567 0.46084 1.1701 1.0219 1.5655 1.7067 0.39538 0.68482 0.58903 1.4714 0.69529 2.2091l4.0167-0.57872c-0.17122-1.2543-0.55927-2.4759-1.2313-3.6399-0.67207-1.1641-1.536-2.1109-2.5366-2.8863z"/> | ||
9 | <path d="m41.272 18.67-2.5095 3.1892c1.4186 1.0907 2.729 2.466 3.6793 4.1119 0.95031 1.646 1.4861 3.4684 1.7214 5.2423l4.0167-0.57872c-0.29984-2.2912-1.0301-4.5474-2.2575-6.6732-1.2273-2.1258-2.8161-3.8863-4.6504-5.2916z"/> | ||
10 | </g> | ||
11 | <path transform="rotate(-30)" d="m3.6746 51.751a8.0382 8.0382 0 0 1-6.9613-4.0191 8.0382 8.0382 0 0 1 0-8.0382 8.0382 8.0382 0 0 1 6.9613-4.0191v8.0382z" stroke-width=".89114"/> | ||
12 | <path d="m19.202 9.8335c-12.242 7.0681-16.437 22.722-9.3687 34.964 7.0681 12.242 22.722 16.437 34.964 9.3687s16.437-22.722 9.3687-34.964-22.722-16.437-34.964-9.3687zm1.5056 2.6078c10.802-6.2365 24.614-2.5355 30.851 8.2665 6.2365 10.802 2.5355 24.614-8.2665 30.851-10.802 6.2365-24.614 2.5355-30.851-8.2665-6.2365-10.802-2.5355-24.614 8.2665-30.851z" stroke-width=".89115"/> | ||
13 | </g> | ||
14 | </g> | ||
15 | </g> | ||
16 | </svg> | ||
diff --git a/recipes/traccar/index.js b/recipes/traccar/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/traccar/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = Ferdium => Ferdium; | |||
diff --git a/recipes/traccar/package.json b/recipes/traccar/package.json new file mode 100644 index 0000000..4a2ab98 --- /dev/null +++ b/recipes/traccar/package.json | |||
@@ -0,0 +1,11 @@ | |||
1 | { | ||
2 | "id": "traccar", | ||
3 | "name": "Traccar", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "hasHostedOption": true, | ||
8 | "hasCustomUrl": true, | ||
9 | "hasNotificationSound": true | ||
10 | } | ||
11 | } | ||
diff --git a/recipes/traccar/webview.js b/recipes/traccar/webview.js new file mode 100644 index 0000000..1119219 --- /dev/null +++ b/recipes/traccar/webview.js | |||
@@ -0,0 +1,9 @@ | |||
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 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
9 | }; | ||