ClawGod v1.2.1
Changes
- feat(install): add
--no-upgradeflag andclaude updatearg forwarding (#114)
版本锁定与免下载重 patch (#114)
新增两个参数,解决安装/更新时被迫升级到最新版的问题:
claude update --version 2.1.180 # 锁定到指定 Claude Code 版本
claude update --no-upgrade # 不下载新版,只用最新 patcher 重新打补丁--version适用于新版有问题时回退到已知稳定版本--no-upgrade从 backup 恢复 clean cli.original.cjs 后重新 patch,适用于只需更新 patcher 正则而不需要拉新 Claude 版本的场景- 参数通过 env var(
CLAWGOD_VERSION/CLAWGOD_NO_UPGRADE)从claude update透传到 installer,bash 和 PowerShell 均支持 - install.sh 直接调用也支持:
bash install.sh --no-upgrade - install.ps1 直接调用也支持:
.\install.ps1 -NoUpgrade
Install
macOS / Linux:
curl -fsSL https://github.com/0Chencc/clawgod/releases/latest/download/install.sh | bashWindows (PowerShell):
irm https://github.com/0Chencc/clawgod/releases/latest/download/install.ps1 | iexFull changelog: v1.2.0...v1.2.1