From f5b618f47b29597eb05e4c09ea664d827dcbda2c Mon Sep 17 00:00:00 2001 From: Luiz Kill Date: Sun, 28 Jan 2024 00:27:01 -0300 Subject: add recipe for traccar gps tracking software (#502) --- recipes/traccar/LICENSE | 21 +++++++++++++++++++++ recipes/traccar/icon.svg | 16 ++++++++++++++++ recipes/traccar/index.js | 1 + recipes/traccar/package.json | 11 +++++++++++ recipes/traccar/webview.js | 9 +++++++++ 5 files changed, 58 insertions(+) create mode 100644 recipes/traccar/LICENSE create mode 100644 recipes/traccar/icon.svg create mode 100644 recipes/traccar/index.js create mode 100644 recipes/traccar/package.json create mode 100644 recipes/traccar/webview.js (limited to 'recipes') 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 @@ +MIT License + +Copyright (c) 2020 Tom Chapman + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +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 @@ + + + + + + + + + + + + + + + + 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 @@ +{ + "id": "traccar", + "name": "Traccar", + "version": "1.0.0", + "license": "MIT", + "config": { + "hasHostedOption": true, + "hasCustomUrl": true, + "hasNotificationSound": true + } +} 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 @@ +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; +} + +const _path = _interopRequireDefault(require('path')); + +module.exports = Ferdium => { + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); +}; -- cgit v1.2.3-54-g00ecf