@zi.yi/openclaw-easy 1.0.3 → 1.0.5
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.
- package/bin/openclaw-easy.mjs +4 -1
- package/package.json +1 -1
package/bin/openclaw-easy.mjs
CHANGED
|
@@ -221,6 +221,9 @@ async function main() {
|
|
|
221
221
|
// 仅在非 Windows 平台安装守护进程
|
|
222
222
|
if (!isWindows) {
|
|
223
223
|
args.push("--install-daemon");
|
|
224
|
+
} else {
|
|
225
|
+
// Windows 跳过健康检查(因为没有守护进程)
|
|
226
|
+
args.push("--skip-health");
|
|
224
227
|
}
|
|
225
228
|
|
|
226
229
|
const run = spawnSync(
|
|
@@ -261,7 +264,7 @@ async function main() {
|
|
|
261
264
|
console.log("\n正在重启 OpenClaw Gateway...");
|
|
262
265
|
spawnSync(
|
|
263
266
|
process.execPath,
|
|
264
|
-
[openclawCli, "gateway", "
|
|
267
|
+
[openclawCli, "gateway", "stop"],
|
|
265
268
|
{ stdio: "inherit" }
|
|
266
269
|
);
|
|
267
270
|
console.log("\n✓ 配置完成!Gateway 正在自动启动...");
|