mirror of
https://github.com/hotwa/luci-app-openclaw.git
synced 2026-03-31 04:52:33 +00:00
release v2.0.0: 适配 OpenClaw v2026.3.13
重大变更: - 配置管理菜单重构,更清晰的导航结构 - 新增高级配置菜单 - 新增全局环境变量 /etc/profile.d/openclaw.sh 修复: - QQ 机器人插件配置名称不匹配 (#XX) - 安装运行环境报错缺少 libstdcpp6 (#28) - 环境变量路径混乱 (#42) 新增: - 查看日志功能 - 飞书 Bot 配置流程优化 适配: - Node.js 版本升级到 22.16.0 - OpenClaw 版本升级到 v2026.3.13 - 依赖声明新增 libstdcpp6
This commit is contained in:
@@ -44,6 +44,11 @@ install_files() {
|
||||
cp "$PKG_DIR/root/etc/init.d/openclaw" "$dest/etc/init.d/"
|
||||
chmod +x "$dest/etc/init.d/openclaw"
|
||||
|
||||
# profile.d (v1.0.16+: 全局环境变量)
|
||||
mkdir -p "$dest/etc/profile.d"
|
||||
cp "$PKG_DIR/root/etc/profile.d/openclaw.sh" "$dest/etc/profile.d/"
|
||||
chmod +x "$dest/etc/profile.d/openclaw.sh"
|
||||
|
||||
# bin
|
||||
mkdir -p "$dest/usr/bin"
|
||||
cp "$PKG_DIR/root/usr/bin/openclaw-env" "$dest/usr/bin/"
|
||||
@@ -134,7 +139,7 @@ mkdir -p "$INFO_DIR"
|
||||
cat > "$INFO_DIR/$PKG.control" << CTLEOF
|
||||
Package: $PKG
|
||||
Version: $PKG_VER
|
||||
Depends: luci-compat, luci-base, curl, openssl-util, script-utils, tar
|
||||
Depends: luci-compat, luci-base, curl, openssl-util, script-utils, tar, libstdcpp6
|
||||
Section: luci
|
||||
Architecture: all
|
||||
Installed-Size: 0
|
||||
@@ -170,7 +175,7 @@ cat >> "$STATUS_FILE" << STEOF
|
||||
|
||||
Package: $PKG
|
||||
Version: $PKG_VER
|
||||
Depends: luci-compat, luci-base, curl, openssl-util, script-utils, tar
|
||||
Depends: luci-compat, luci-base, curl, openssl-util, script-utils, tar, libstdcpp6
|
||||
Status: install user installed
|
||||
Architecture: all
|
||||
Conffiles:
|
||||
|
||||
Reference in New Issue
Block a user