@clawos-dev/clawd 0.2.124-beta.246.7490f60 → 0.2.124-beta.247.f559d96
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.
|
@@ -86,7 +86,14 @@ if [ -n "$DOM" ]; then
|
|
|
86
86
|
# 整体失败 → daemon runner 走 publish-failed 路径 + 回灌 chat 让 assistant 接管修复。
|
|
87
87
|
# 之前的 `|| true` 兜底已去掉,理由:线上挂了 prodUrl 仍写盘 = 老板看到"打开线上"按钮
|
|
88
88
|
# 但点开 404,不如 fail-loud。
|
|
89
|
-
|
|
89
|
+
#
|
|
90
|
+
# 显式走 bash 解释器调用(不依赖 verify.sh 自己的 +x 权限):
|
|
91
|
+
# daemon 调 publish.sh / new-extension.sh 都是 `spawn('bash', [scriptPath, ...])`,所以即使脚本
|
|
92
|
+
# +x bit 丢了(历史上有过:OTA 解包 / cp -p 未带 / desktop 旧包 mode 不对)也能跑。但这一行
|
|
93
|
+
# 之前是 direct-exec `"$KIT_DIR/scripts/verify.sh"`,OS 会检查 +x —— verify.sh 因此成为唯一
|
|
94
|
+
# 暴露 +x 丢失问题的执行点(老板撞到过一次"verify.sh permission denied")。
|
|
95
|
+
# 改 bash 调用后永远不再依赖 fs +x bit。
|
|
96
|
+
bash "$KIT_DIR/scripts/verify.sh" "http://$DOM"
|
|
90
97
|
else
|
|
91
98
|
# 域名没拿到 = 部署本身有问题(fc3-domain 未成功),也算失败
|
|
92
99
|
echo "❌ 部署完成但未取到自定义域名,检查 fc3-domain 是否成功" >&2
|
package/package.json
CHANGED