@oh-my-pi/cli 1.3.375 → 1.3.376

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
@@ -16878,13 +16878,15 @@ var CONVERTIBLE_EXTENSIONS = new Set([
16878
16878
  ".wav",
16879
16879
  ".ogg"
16880
16880
  ]);
16881
+ var isWindows2 = process.platform === "win32";
16881
16882
  function exec2(cmd, args, options) {
16882
16883
  const timeout = (options?.timeout ?? DEFAULT_TIMEOUT) * 1000;
16883
16884
  const result = spawnSync(cmd, args, {
16884
16885
  encoding: options?.input instanceof Buffer ? "buffer" : "utf-8",
16885
16886
  timeout,
16886
16887
  maxBuffer: MAX_BYTES2,
16887
- input: options?.input
16888
+ input: options?.input,
16889
+ shell: true
16888
16890
  });
16889
16891
  return {
16890
16892
  stdout: result.stdout?.toString() ?? "",
@@ -16893,9 +16895,8 @@ function exec2(cmd, args, options) {
16893
16895
  };
16894
16896
  }
16895
16897
  function hasCommand(cmd) {
16896
- const isWindows2 = process.platform === "win32";
16897
16898
  const checkCmd = isWindows2 ? "where" : "which";
16898
- const result = spawnSync(checkCmd, [cmd], { encoding: "utf-8", shell: isWindows2 });
16899
+ const result = spawnSync(checkCmd, [cmd], { encoding: "utf-8", shell: true });
16899
16900
  return result.status === 0;
16900
16901
  }
16901
16902
  function getOrigin(url) {
@@ -1 +1 @@
1
- {"version":3,"file":"render-web.d.ts","sourceRoot":"","sources":["../../src/commands/render-web.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,gBAAgB;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;CAClB;AAoqDD;;GAEG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,GAAE,gBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAwC1F"}
1
+ {"version":3,"file":"render-web.d.ts","sourceRoot":"","sources":["../../src/commands/render-web.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,gBAAgB;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;CAClB;AAuqDD;;GAEG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,GAAE,gBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAwC1F"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/cli",
3
- "version": "1.3.375",
3
+ "version": "1.3.376",
4
4
  "description": "Plugin manager for pi - install and manage pi config plugins from git repos",
5
5
  "type": "module",
6
6
  "main": "./dist/cli.js",