diff --git a/config/apps.php b/config/apps.php
index 4d0f1be6..31f9e9d7 100644
--- a/config/apps.php
+++ b/config/apps.php
@@ -74,12 +74,24 @@ return [
'icon' => 'MC',
'entry_route' => '/apps/mining-checker',
'window_mode' => 'window',
- 'content_mode' => 'iframe',
+ 'content_mode' => 'native-module',
'default_width' => 1180,
'default_height' => 760,
'supports_widget' => false,
'supports_tray' => true,
'module_name' => 'finance',
'summary' => 'Vollstaendiger Rechner fuer Mining-Profitabilitaet, Stromkosten, ROI und Snapshot-Historie.',
+ 'module_options' => [
+ 'default_project_key' => 'doge-main',
+ 'active_view' => 'overview',
+ 'sections' => [
+ ['key' => 'overview', 'label' => 'Übersicht'],
+ ['key' => 'upload', 'label' => 'Upload'],
+ ['key' => 'measurements', 'label' => 'Mining-History'],
+ ['key' => 'wallet', 'label' => 'Wallet'],
+ ['key' => 'mining', 'label' => 'Miner-Daten'],
+ ['key' => 'dashboards', 'label' => 'Dashboards'],
+ ],
+ ],
],
];
diff --git a/partials/desktop/shell.php b/partials/desktop/shell.php
index 1fb1422e..55a7f53c 100644
--- a/partials/desktop/shell.php
+++ b/partials/desktop/shell.php
@@ -20,6 +20,14 @@ $assetVersion = static function (string $publicPath): string {
return $mtime === false ? $publicPath : $publicPath . '?v=' . $mtime;
};
+$hasMiningChecker = false;
+foreach ($desktopPayload['apps'] as $desktopApp) {
+ if (($desktopApp['app_id'] ?? null) === 'mining-checker') {
+ $hasMiningChecker = true;
+ break;
+ }
+}
+
$renderStartIcon = static function (array $profile): string {
$style = (string) ($profile['taskbar_icon_style'] ?? 'label');
@@ -142,5 +150,11 @@ $renderStartIcon = static function (array $profile): string {
+
+
+
+
+
+