create-openclaw-bot 5.6.2 → 5.6.3

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/dist/cli.js +7 -8
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -2509,10 +2509,12 @@ async function main() {
2509
2509
  ));
2510
2510
  }
2511
2511
 
2512
- console.log(chalk.green(`✅ ${isVi ? 'Tạo cấu hình thành công!' : 'Configs created successfully!'}`));
2513
-
2514
- // 7. Auto Run
2515
- const autoRun = deployMode === 'docker' ? await confirm({
2512
+ console.log(chalk.green(`✅ ${isVi ? 'Tạo cấu hình thành công!' : 'Configs created successfully!'}`));
2513
+
2514
+ installLatestOpenClaw({ isVi, osChoice });
2515
+
2516
+ // 7. Auto Run
2517
+ const autoRun = deployMode === 'docker' ? await confirm({
2516
2518
  message: isVi ? 'Bạn có muốn tự động build Docker và khởi động Bot luôn không?' : 'Do you want to run Docker compose and start the bot now?',
2517
2519
  default: true
2518
2520
  }) : false;
@@ -2592,10 +2594,7 @@ async function main() {
2592
2594
  });
2593
2595
 
2594
2596
  }
2595
-
2596
- installLatestOpenClaw({ isVi, osChoice });
2597
-
2598
- if (deployMode === 'docker') {
2597
+ if (deployMode === 'docker') {
2599
2598
 
2600
2599
  // ── Auto-install openclaw binary if not present ──────────────────────────
2601
2600
  const isOpenClawInstalled = () => { try { execSync('openclaw --version', { stdio: 'ignore' }); return true; } catch { return false; } };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-openclaw-bot",
3
- "version": "5.6.2",
3
+ "version": "5.6.3",
4
4
  "description": "Interactive CLI installer for OpenClaw Bot",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {