@genex-ai/cli-demo 0.96.0-dev.275 → 0.97.0-dev.277
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/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3800,11 +3800,13 @@ async function uiAudit(opts, log) {
|
|
|
3800
3800
|
}
|
|
3801
3801
|
|
|
3802
3802
|
// src/lib/deploy.ts
|
|
3803
|
+
var WIN_SHELL_COMMANDS = /* @__PURE__ */ new Set(["npm", "npx"]);
|
|
3803
3804
|
function run(cmd, args, env) {
|
|
3805
|
+
const shell = process.platform === "win32" && WIN_SHELL_COMMANDS.has(cmd);
|
|
3804
3806
|
return new Promise((resolve) => {
|
|
3805
3807
|
let child;
|
|
3806
3808
|
try {
|
|
3807
|
-
child = spawn3(cmd, args, { env: env ? { ...process.env, ...env } : process.env });
|
|
3809
|
+
child = spawn3(cmd, args, { env: env ? { ...process.env, ...env } : process.env, shell });
|
|
3808
3810
|
} catch {
|
|
3809
3811
|
resolve({ code: -1, out: "", err: `${cmd} not found` });
|
|
3810
3812
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genex-ai/cli-demo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.97.0-dev.277",
|
|
4
4
|
"description": "Set up your project's agent workspace (.claude/.codex/.cursor in the game folder), authorize, create a game project, generate AI assets, and publish (genex CLI).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|