mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-17 09:50:31 +08:00
* fix: 在非安全上下文中为 copyMessage 添加 execCommand 备用方案 在非安全上下文中(例如通过 HTTP 局域网 IP 访问),navigator.clipboard 不可用。为此,我们添加了使用 document.execCommand(‘copy’) 的备用方案,这与 ReadmeDialog.vue 和 Settings.vue 中的现有实现保持一致。 * fix: extract shared clipboard utility and fix copy actions in dialogs and insecure contexts --------- Co-authored-by: RC-CHN <1051989940@qq.com>
AstrBot 管理面板
基于 CodedThemes/Berry 模板开发。
环境变量
VITE_ASTRBOT_RELEASE_BASE_URL(可选)- 默认值:
https://github.com/AstrBotDevs/AstrBot/releases - 用途:管理面板内“更新到最新版本”外部跳转所使用的 release 基地址。集成方可按需覆盖(例如 Desktop 指向其自身发布页)。
- 建议传入仓库的
.../releases基地址(不带/latest)。
- 默认值: