diff --git a/README.md b/README.md index f7142a3..b001c6a 100644 --- a/README.md +++ b/README.md @@ -532,7 +532,7 @@ return { ## 桌面 GUI(Electron) -可选独立产物,面向内网桌面端用户:**内嵌 ModelRouter 核心**(Clash Verge 形态), +可选独立产物,面向内网桌面端用户:**内嵌 ModelRouter 内核的托盘式桌面客户端**, 一键启停、系统托盘常驻、开机自启、静默启动,内容区一比一内嵌完整 WebUI (状态/对话/密钥/优先级/源/适配器 六个页面,免登录)。服务器用户继续使用纯 Go 二进制。 diff --git a/README_EN.md b/README_EN.md index b601221..746ff26 100644 --- a/README_EN.md +++ b/README_EN.md @@ -501,8 +501,8 @@ app_agent}`. ## Desktop GUI (Electron) Optional standalone product for desktop users on your internal network: an -**embedded ModelRouter core** (Clash Verge-style): one-click start/stop, system -tray, autostart, silent launch, and a pixel-for-pixel embedded full WebUI +**embedded ModelRouter core** in a tray-style desktop app: one-click start/stop, +system tray, autostart, silent launch, and a pixel-for-pixel embedded full WebUI (Status/Chat/Keys/Priority/Sources/Adapters — no login needed). Server users keep using the plain Go binary. diff --git a/cmd/gui/main.js b/cmd/gui/main.js index 94dc370..fd01bc3 100644 --- a/cmd/gui/main.js +++ b/cmd/gui/main.js @@ -1,5 +1,5 @@ // ModelRouter Desktop GUI — main process -// Clash-Verge-style: bundles and manages an embedded llmsproxy core instance +// Tray-app style: bundles and manages an embedded llmsproxy core instance // in a per-user profile dir (userData), auto-starts it, keeps a tray icon, // supports launch-at-login. Server-side users keep using the pure Go binary. const { @@ -215,7 +215,7 @@ function coreStarted() { function writeDefaultEmbeddedConfig() { // Generate a self-contained embedded profile with a fresh random admin key. // No upstream sources are preconfigured — the desktop user adds them via - // the WebUI's sources page (like Clash Verge's empty-by-default profile). + // the WebUI's sources page (like a desktop app's empty-by-default profile). // If a config already exists we do NOT overwrite it (keep user's edits). if (fs.existsSync(CONFIG_FILE)) return; const key = "sk-gw-" + crypto.randomBytes(16).toString("hex"); @@ -686,7 +686,7 @@ function createWindow() { }); } // Silent start: `--silent` CLI flag or settings.silentStart keeps the app - // in the tray without showing the window (Clash-Verge style). First run + // in the tray without showing the window (tray-app style). First run // always shows the window so the user sees the dashboard. mainWindow.once("ready-to-show", () => { const firstRun = !fs.existsSync( diff --git a/cmd/gui/renderer/app.js b/cmd/gui/renderer/app.js index 563d5bc..ec80b49 100644 --- a/cmd/gui/renderer/app.js +++ b/cmd/gui/renderer/app.js @@ -1,5 +1,5 @@ // ModelRouter Desktop GUI — renderer -// Clash-Verge-style: the content area is a full-screen iframe loading the +// Tray-app style: the content area is a full-screen iframe loading the // real WebUI 1:1 (status / chat / keys / priority / sources / adapters). // The shell only adds the titlebar, settings overlay and tray integration. const state = { diff --git a/cmd/gui/renderer/index.html b/cmd/gui/renderer/index.html index fea53c5..9482708 100644 --- a/cmd/gui/renderer/index.html +++ b/cmd/gui/renderer/index.html @@ -83,7 +83,7 @@ - +