Add LoraBell app support and enhance package management in mock backend

- Introduced LoraBell as a static demo app in the mock backend, preventing its uninstallation.
- Merged static dev apps with Docker container data for improved package management.
- Updated app details and URLs for LoraBell in the Apps and AppDetails views.
- Enhanced the dummyApps utility to include LoraBell's configuration for consistent app representation.
This commit is contained in:
Dorian
2026-02-18 08:30:12 +00:00
parent 2472af790b
commit 3da0d53952
8 changed files with 190 additions and 8 deletions

View File

@@ -613,6 +613,10 @@ function launchApp() {
// Special handling for apps with Docker containers
// TODO: Replace dummy app URLs with real URLs when apps are packaged
const appUrls: Record<string, { dev: string, prod: string }> = {
'lorabell': {
dev: '/lorabell-info.html',
prod: '/lorabell-info.html'
},
'atob': {
dev: 'http://localhost:8102',
prod: 'https://app.atobitcoin.io'

View File

@@ -244,8 +244,12 @@ function launchApp(id: string) {
return
}
// Fallback: Special handling for apps with Docker containers
// Fallback: Special handling for apps with Docker containers / no-web-interface devices
const appUrls: Record<string, { dev: string, prod: string }> = {
'lorabell': {
dev: '/lorabell-info.html',
prod: '/lorabell-info.html'
},
'atob': {
dev: 'http://localhost:8102',
prod: 'https://app.atobitcoin.io'