@sansavision/pulse-cli 0.4.4 → 0.4.6

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/bin/pulse.js +5 -2
  2. package/package.json +2 -2
package/bin/pulse.js CHANGED
@@ -5,8 +5,11 @@ const { spawnSync } = require("child_process");
5
5
  const os = require("os");
6
6
  const { resolveBin } = require("../index");
7
7
 
8
- const exe = os.platform() === "win32" ? "pulse.exe" : "pulse";
9
- const bin = resolveBin(exe);
8
+ const isWin = os.platform() === "win32";
9
+
10
+ // The unified CLI binary is named "pulse" (output of pulse-cli crate).
11
+ // Fall back to the legacy "pulse" relay binary for older platform packages.
12
+ const bin = resolveBin(isWin ? "pulse.exe" : "pulse");
10
13
 
11
14
  if (!bin) {
12
15
  console.error(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sansavision/pulse-cli",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "description": "Native-binary wrapper (optionalDependencies distribution)",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -15,7 +15,7 @@
15
15
  "pulse": "bin/pulse.js"
16
16
  },
17
17
  "optionalDependencies": {
18
- "@sansavision/pulse-cli-darwin-arm64": ">=0.4.4",
18
+ "@sansavision/pulse-cli-darwin-arm64": ">=0.4.6",
19
19
  "@sansavision/pulse-cli-darwin-x64": "0.4.0",
20
20
  "@sansavision/pulse-cli-linux-x64-musl": "0.4.0",
21
21
  "@sansavision/pulse-cli-linux-arm64-musl": "0.4.0",