openclaw - 💡(How to fix) Fix [QClaw] 升级安装后程序消失 + Control UI Agent 名称不显示 [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#70960Fetched 2026-04-24 10:37:23
View on GitHub
Comments
1
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
commented ×1unsubscribed ×1

Code Example

[T0 -> T1] Init + Uninstall old + Extract 7z to temp:  71391 ms
[T1 -> T2] Decompress + Copy + Registry + Shortcuts:   1125 ms
[T2 -> T3] OpenClaw tar extraction:                    31062 ms

---

InstallLocation : (空)

---

{
     "agents": {
       "list": [
         {
           "id": "main",
           "name": "小五"
         }
       ]
     }
   }

---

- Name: 小五
   - Emoji: 🤖
   - Vibe: 随时随地,帮您高效干活
RAW_BUFFERClick to expand / collapse

QClaw 问题反馈(两则)

环境信息

项目
QClaw 版本0.2.13(Electron 桌面客户端)
OpenClaw 内核版本2026.4.5
操作系统Windows 11 家庭中文版 (Build 26200)
Node.jsv22.21.1
反馈日期2026-04-24
反馈人徐荣耀(厦门旅游服务中心 / 智慧科技公司)

问题一:升级安装后程序消失(严重)

标题

QClaw 升级安装后,整个程序消失,快捷方式失效,找不到 QClaw

严重程度

🔴 严重(阻断性问题,用户无法使用)

问题描述

每次升级 QClaw 后,会出现以下情况:

  • 桌面快捷方式和开始菜单快捷方式点击后提示"原文件已不存在"
  • 整个 C:\Program Files\QClaw\ 目录被清空或删除
  • 用户完全找不到 QClaw 程序

根因分析

从安装日志 (install.log) 可见升级流程:

[T0 -> T1] Init + Uninstall old + Extract 7z to temp:  71391 ms
[T1 -> T2] Decompress + Copy + Registry + Shortcuts:   1125 ms
[T2 -> T3] OpenClaw tar extraction:                    31062 ms

关键发现: 安装器采用"先装后删"策略,但这导致了更严重的问题:

  1. 新版本解压到临时目录
  2. 运行"卸载旧版本"逻辑
  3. 卸载逻辑使用通配符或固定路径清理 C:\Program Files\QClaw\
  4. 不区分版本,把刚装好的新版本也一起删了
  5. 结果:旧的没了,新的也被删了 → QClaw 彻底消失

用户观察到的现象

"不只是快捷方式消失了,直接就找不到 qclaw 了"

这与传统的"先删后装"问题不同——"先装后删"本应是更安全的做法,但卸载逻辑不够精确,把新版本也清理了。

注册表问题

InstallLocation : (空)

安装器没有正确写入 InstallLocation,Windows 的"应用和功能"无法正确追踪安装位置。

建议修复方案

  1. 隔离卸载目标: 卸载逻辑应精确匹配旧版本路径(如 C:\Program Files\QClaw\0.2.12\),而非清理整个父目录
  2. 版本化安装路径: 每个版本安装到独立子目录,卸载旧版本时只清理对应子目录
  3. 原子化替换: 先完成新版本安装并验证,再执行旧版本清理
  4. 正确注册安装路径: 写入 InstallLocation 注册表项

问题二:Control UI Agent 自定义名称不显示

标题

Control UI 左侧 Agent 列表不读取 agents.list[].name 配置,始终显示硬编码的 "QClaw"

严重程度

🟡 中等(不影响功能,影响用户体验和品牌定制)

复现步骤

  1. 编辑 ~/.qclaw/openclaw.json,在 agents.list 中设置自定义名称:
    {
      "agents": {
        "list": [
          {
            "id": "main",
            "name": "小五"
          }
        ]
      }
    }
  2. 同时在工作区 workspace/IDENTITY.md 中配置:
    - Name: 小五
    - Emoji: 🤖
    - Vibe: 随时随地,帮您高效干活
  3. 保存配置,重启 Gateway
  4. 刷新 Control UI 页面(F5)

预期结果

左侧 Agent 列表应显示 "小五"

实际结果

左侧 Agent 列表仍显示 "QClaw"

但以下内容已正确生效:

  • ✅ Agent 副标题正确显示 IDENTITY.md 中的 Vibe
  • ✅ 运行时配置确认 name: "小五" 已生效
  • config.schema.lookup 确认 agents.list.*.name 是合法字段
  • ✅ 对话记录、消息收发等核心功能完全正常

推测根因

Control UI(Electron 前端)渲染 Agent 列表时:

  • 未从 agents.list[].name 读取用户配置的名称
  • 可能使用了硬编码默认值 "QClaw"

期望修复方案

  1. Control UI 读取 openclaw.jsonagents.list[].name 作为 Agent 显示名
  2. name 未配置,fallback 到 IDENTITY.mdName: 字段
  3. 若两者都未配置,才使用默认值 "QClaw"

补充说明

问题一为阻断性问题,建议优先修复。

如有需要进一步排查,可随时联系。

extent analysis

TL;DR

The most likely fix for the QClaw installation issue is to modify the uninstallation logic to precisely target the old version directory, and for the Control UI Agent naming issue, update the Electron frontend to read the agents.list[].name configuration.

Guidance

  1. Modify the uninstallation logic: Change the uninstall script to use a specific path for the old version, such as C:\Program Files\QClaw\0.2.12\, instead of clearing the entire parent directory.
  2. Versionized installation path: Install each version in a separate subdirectory to avoid conflicts during uninstallation.
  3. Update Control UI to read agent name configuration: Modify the Electron frontend to read the agents.list[].name field from openclaw.json for displaying the agent name.
  4. Fallback to IDENTITY.md for agent name: If agents.list[].name is not configured, use the Name: field from IDENTITY.md as a fallback.

Example

No code snippet is provided as the issue does not contain sufficient code details.

Notes

The provided information suggests that the issues are related to the installation and configuration logic of QClaw. However, without access to the actual codebase, the suggested fixes are based on the descriptions and may require adjustments to fit the specific implementation.

Recommendation

Apply the suggested workarounds, prioritizing the fix for the blocking installation issue, as it prevents users from accessing the application altogether.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING