From d705861d259b831c76c53b0e2917a7020adf6259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Csheetung=E2=80=9D?= <755855262@qq.com> Date: Fri, 18 Sep 2026 17:05:47 +0800 Subject: [PATCH] fix(fnos): open LangBot embedded inside fnOS desktop instead of external browser Change desktop entry type from 'url' (opens external browser) to 'iframe' (embeds the web UI inside the fnOS desktop window), per the official Application Entry documentation at developer.fnnas.com/docs/core-concepts/app-entry. --- packaging/fnos/app/desktop/langbot.main.url | 2 +- packaging/fnos/app/ui/config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/fnos/app/desktop/langbot.main.url b/packaging/fnos/app/desktop/langbot.main.url index 513870fe8..1717216cc 100644 --- a/packaging/fnos/app/desktop/langbot.main.url +++ b/packaging/fnos/app/desktop/langbot.main.url @@ -1,7 +1,7 @@ { "title": "LangBot", "icon": "images/icon-256.png", - "type": "url", + "type": "iframe", "protocol": "http", "port": "${wizard_port}", "url": "/", diff --git a/packaging/fnos/app/ui/config b/packaging/fnos/app/ui/config index d45765dd4..2908f45de 100644 --- a/packaging/fnos/app/ui/config +++ b/packaging/fnos/app/ui/config @@ -3,7 +3,7 @@ "langbot.main": { "title": "LangBot", "icon": "images/icon-{0}.png", - "type": "url", + "type": "iframe", "protocol": "http", "port": "${wizard_port}", "url": "/",