create-openclaw-bot 5.17.0 → 5.17.2

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/dist/cli.js CHANGED
@@ -11,9 +11,9 @@ const __dirname = path.dirname(__filename);
11
11
  // `--version` / `--help` phải TRẢ LỜI RỒI THOÁT, đứng trước mọi thứ khác.
12
12
  //
13
13
  // Trước đây CLI không biết hai cờ này: gõ `create-openclaw-bot --version` là nó lờ đi rồi chạy
14
- // tiếp như thường tạo thư mục project, dựng Setup UI, **chiếm cổng 51789 và treo vĩnh viễn**.
14
+ // tiếp như thường - tạo thư mục project, dựng Setup UI, **chiếm cổng 51789 và treo vĩnh viễn**.
15
15
  // Đo trên vps_minh-thu 07/09: hai tiến trình `cli.js --version` nằm đó từ 02/09 giữ cổng, nên
16
- // systemd relaunch bản mới xong không bind được cổng bấm "Cập nhật" thành công mà giao diện
16
+ // systemd relaunch bản mới xong không bind được cổng - bấm "Cập nhật" thành công mà giao diện
17
17
  // vẫn là bản cũ, không ai hiểu vì sao.
18
18
  {
19
19
  const rawArgs = process.argv.slice(2);
@@ -27,7 +27,7 @@ const __dirname = path.dirname(__filename);
27
27
  }
28
28
  if (rawArgs.includes('--help') || rawArgs.includes('-h')) {
29
29
  console.log([
30
- 'create-openclaw-bot trình cài đặt OpenClaw Bot',
30
+ 'create-openclaw-bot - trình cài đặt OpenClaw Bot',
31
31
  '',
32
32
  'Cách dùng: create-openclaw-bot [tuỳ chọn]',
33
33
  '',
@@ -78,7 +78,7 @@ function isLocalRepo() {
78
78
 
79
79
  // True when the full server code is bundled next to this CLI (dist build, npm/global
80
80
  // install, or `npx github:...`). In that case run it directly instead of bootstrapping
81
- // the published package works even though `files` ships only `dist/` (no `src/`).
81
+ // the published package - works even though `files` ships only `dist/` (no `src/`).
82
82
  function hasBundledServer() {
83
83
  return [
84
84
  path.join(__dirname, 'server', 'local-server.js'),