@zi.yi/openclaw-easy 1.0.2 → 1.0.4
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 +10 -10
- 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(
|
|
@@ -247,18 +250,15 @@ async function main() {
|
|
|
247
250
|
|
|
248
251
|
if (isWindows) {
|
|
249
252
|
// Windows:手动启动提示
|
|
250
|
-
console.log("\n✓ 配置完成!");
|
|
251
253
|
console.log("\n" + "=".repeat(50));
|
|
252
|
-
console.log("
|
|
254
|
+
console.log(" 📋 接下来的步骤");
|
|
253
255
|
console.log("=".repeat(50));
|
|
254
|
-
console.log("\n
|
|
255
|
-
console.log("
|
|
256
|
-
console.log("\n⚠️
|
|
257
|
-
console.log("\n
|
|
258
|
-
console.log("
|
|
259
|
-
console.log("\n" + "=".repeat(50));
|
|
260
|
-
console.log("💡 提示:推荐使用 WSL2 获得完整的后台运行体验");
|
|
261
|
-
console.log("=".repeat(50) + "\n");
|
|
256
|
+
console.log("\n【1️⃣ 当前终端】复制并运行:");
|
|
257
|
+
console.log(" npx openclaw gateway");
|
|
258
|
+
console.log("\n ⚠️ 此窗口保持开启,关闭会停止服务");
|
|
259
|
+
console.log("\n【2️⃣ 打开新终端】复制并运行:");
|
|
260
|
+
console.log(" npx openclaw dashboard");
|
|
261
|
+
console.log("\n" + "=".repeat(50) + "\n");
|
|
262
262
|
} else {
|
|
263
263
|
// macOS/Linux:自动重启
|
|
264
264
|
console.log("\n正在重启 OpenClaw Gateway...");
|