sharween commited on
Commit
bf255d5
·
verified ·
1 Parent(s): 203f5bc

Update start-openclaw.sh

Browse files
Files changed (1) hide show
  1. start-openclaw.sh +14 -0
start-openclaw.sh CHANGED
@@ -69,6 +69,20 @@ echo "✅ 基础配置文件生成完成"
69
  # ================================================
70
  python3 /app/sync.py restore
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  # ================================================
73
  # 5. 微信插件激活
74
  # ================================================
 
69
  # ================================================
70
  python3 /app/sync.py restore
71
 
72
+
73
+ echo "=== 修复 OpenClaw 插件权限和 stale 配置 ==="
74
+
75
+ # 修复权限
76
+ chmod -R 755 /root/.openclaw/extensions
77
+ find /root/.openclaw/extensions -type f -exec chmod 644 {} +
78
+
79
+ # 清理并修复配置
80
+ openclaw doctor --fix
81
+
82
+ echo "权限和配置修复完成"
83
+
84
+
85
+
86
  # ================================================
87
  # 5. 微信插件激活
88
  # ================================================