openclawsetup 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/install.sh +4 -1
  2. package/package.json +1 -1
package/install.sh CHANGED
@@ -167,7 +167,10 @@ main() {
167
167
  log_info "开始安装 OpenClaw..."
168
168
  echo ""
169
169
 
170
- npx openclawsetup@latest
170
+ # 清除 npx 缓存以确保获取最新版本
171
+ npm cache clean --force openclawsetup 2>/dev/null || true
172
+
173
+ npx --yes openclawsetup@latest
171
174
  }
172
175
 
173
176
  main "$@"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclawsetup",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "一键安装 OpenClaw - 自动完成基础部署,无需交互",
5
5
  "type": "module",
6
6
  "bin": {