codewave-openclaw-installer 1.0.0 → 1.0.1
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/install.mjs +1 -1
- package/package.json +5 -2
package/bin/install.mjs
CHANGED
|
@@ -19,7 +19,7 @@ const cyan = (s) => `\x1b[36m${s}\x1b[0m`;
|
|
|
19
19
|
// ─── 等待子进程结束的 Promise 包装 ───
|
|
20
20
|
function runCommand(cmd, args) {
|
|
21
21
|
return new Promise((resolve) => {
|
|
22
|
-
const child = spawn(cmd, args, { stdio: 'inherit' });
|
|
22
|
+
const child = spawn(cmd, args, { stdio: 'inherit', shell: true });
|
|
23
23
|
child.on('close', (code) => resolve(code ?? 1));
|
|
24
24
|
child.on('error', (err) => {
|
|
25
25
|
console.log(yellow(` 进程启动失败: ${err.message}`));
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codewave-openclaw-installer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "CodeWave OpenClaw 一键安装器:飞书绑定 + 智能客服 Skill",
|
|
5
5
|
"bin": {
|
|
6
6
|
"codewave-install": "bin/install.mjs"
|
|
7
7
|
},
|
|
8
|
-
"files": [
|
|
8
|
+
"files": [
|
|
9
|
+
"bin/",
|
|
10
|
+
"skills/"
|
|
11
|
+
],
|
|
9
12
|
"type": "module"
|
|
10
13
|
}
|