diff --git a/en/use/webui.md b/en/use/webui.md index 9869463..34524b0 100644 --- a/en/use/webui.md +++ b/en/use/webui.md @@ -62,7 +62,9 @@ You can enable or disable trace recording using the switch at the top of the pag > [!NOTE] > Currently only recording partial model call paths from AstrBot main Agent. More coverage will be added. -## Updating the Admin Panel +## Updates + +### Updating the Admin Panel When AstrBot starts, it automatically checks if the admin panel needs updating. If it does, the first log entry (in yellow) will prompt you. @@ -70,6 +72,15 @@ Use the `/dashboard_update` command to manually update the admin panel (admin co Admin panel files are located in the data/dist directory. If you need to manually replace them, download `dist.zip` from https://github.com/AstrBotDevs/AstrBot/releases/ and extract it to the data directory. +### Updating the Desktop App + +If you are using the AstrBot desktop client (such as AstrBot Launcher), you can check and update the desktop application by clicking the update button in the admin panel header. + +After clicking, it will display the current version and latest version information. If a new version is available, click confirm to automatically download and install the update. The application will restart automatically after installation completes. + +> [!NOTE] +> This feature is only available in desktop client mode. If you are running AstrBot via Docker or manual deployment, please use the corresponding update method. + ## Customizing WebUI Port Modify the `port` in the `dashboard` configuration in the data/cmd_config.json file. diff --git a/zh/use/webui.md b/zh/use/webui.md index f52f4a3..cad97b1 100644 --- a/zh/use/webui.md +++ b/zh/use/webui.md @@ -43,7 +43,7 @@ AstrBot 管理面板具有管理插件、查看日志、可视化配置、查看 ### 插件加载失败处理 -如果插件加载失败,管理面板会显示错误信息,并提供 **“尝试一键重载修复”** 按钮。这允许你在修复环境(如安装缺失依赖)或修改代码后,无需重启整个程序即可快速重新加载插件。 +如果插件加载失败,管理面板会显示错误信息,并提供 **"尝试一键重载修复"** 按钮。这允许你在修复环境(如安装缺失依赖)或修改代码后,无需重启整个程序即可快速重新加载插件。 ## 指令管理 @@ -62,7 +62,9 @@ AstrBot 管理面板具有管理插件、查看日志、可视化配置、查看 > [!NOTE] > 当前仅记录部分 AstrBot 主 Agent 的模型调用路径,后续会不断完善。 -## 更新管理面板 +## 更新 + +### 更新管理面板 在 AstrBot 启动时,会自动检查管理面板是否需要更新,如果需要,第一条日志(黄色)会进行提示。 @@ -70,6 +72,15 @@ AstrBot 管理面板具有管理插件、查看日志、可视化配置、查看 管理面板文件在 data/dist 目录下。如果需要手动替换,请在 https://github.com/AstrBotDevs/AstrBot/releases/ 下载 `dist.zip` 然后解压到 data 目录下。 +### 更新桌面应用 + +如果你使用 AstrBot 桌面客户端(如 AstrBot Launcher),可以在管理面板顶部栏点击更新按钮来检查并更新桌面应用。 + +点击后会显示当前版本和最新版本信息,如果有新版本可用,点击确认即可自动下载并安装更新,应用将在安装完成后自动重启。 + +> [!NOTE] +> 此功能仅在桌面客户端模式下可用。如果你通过 Docker 或手动部署方式运行 AstrBot,请使用相应的更新方式。 + ## 自定义 WebUI 端口 修改 data/cmd_config.json 文件内 `dashboard` 配置中的 `port`。