Skip to content

docs: add Windows gateway.cmd version sync step to update guide#3

Open
Pgooone wants to merge 1 commit into
win4r:mainfrom
Pgooone:fix/gateway-cmd-version-sync
Open

docs: add Windows gateway.cmd version sync step to update guide#3
Pgooone wants to merge 1 commit into
win4r:mainfrom
Pgooone:fix/gateway-cmd-version-sync

Conversation

@Pgooone
Copy link
Copy Markdown

@Pgooone Pgooone commented Apr 3, 2026

Changes

references/install.md 的 "Always Run After Update" 部分新增 "Windows: Verify gateway.cmd Version" 小节,补充以下内容:

  1. 说明 gateway.cmd 中的版本号在 npm 更新后不会自动同步
  2. 提供检查命令 cat ~/.openclaw/gateway.cmd | grep -i version
  3. 给出两种修复方式:openclaw gateway install 重新生成,或手动修改两处版本号

同时在 "Always Run After Update" 的代码块中补充了 openclaw doctor --fix 命令。

Fixes #2

On Windows, `gateway.cmd` (generated by `openclaw gateway install`) contains
hardcoded version strings that are NOT updated by `npm install -g openclaw@latest`
or `openclaw update`. Added a new subsection under "Always Run After Update"
to warn users and provide fix instructions.

Fixes win4r#2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows更新后 gateway.cmd 版本号未同步

1 participant