Boersenchecker
This commit is contained in:
25
modules/boersenchecker/desktop.php
Normal file
25
modules/boersenchecker/desktop.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$manifest = [];
|
||||
$manifestRaw = is_file(__DIR__ . '/module.json') ? file_get_contents(__DIR__ . '/module.json') : false;
|
||||
if ($manifestRaw !== false) {
|
||||
$decoded = json_decode($manifestRaw, true);
|
||||
$manifest = is_array($decoded) ? $decoded : [];
|
||||
}
|
||||
|
||||
return [
|
||||
'app_id' => 'boersenchecker',
|
||||
'title' => (string) ($manifest['title'] ?? 'Börsenchecker'),
|
||||
'icon' => 'BC',
|
||||
'entry_route' => '/apps/boersenchecker',
|
||||
'window_mode' => 'window',
|
||||
'content_mode' => 'iframe',
|
||||
'default_width' => 1220,
|
||||
'default_height' => 860,
|
||||
'supports_widget' => false,
|
||||
'supports_tray' => false,
|
||||
'module_name' => 'finance',
|
||||
'summary' => (string) ($manifest['description'] ?? 'Depotverwaltung fuer Aktien, Kaufdaten, Kursverlauf und Waehrungsumrechnung.'),
|
||||
];
|
||||
Reference in New Issue
Block a user