@command-center/command-center 0.1.2 → 0.2.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/README.md +0 -1
- package/bin/command-center.js +4 -2
- package/dist/command-center-linux-arm64 +0 -0
- package/dist/command-center-linux-x64 +0 -0
- package/dist/command-center-macos-arm64 +0 -0
- package/dist/command-center-macos-x64 +0 -0
- package/dist/command-center-win-x64.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,4 +46,3 @@ After updating, run `command-center --version` to verify the new binary.
|
|
|
46
46
|
- **“Unsupported platform”** – The wrapper could not map your `process.platform`/`process.arch` combination. Please file an issue with your OS and architecture.
|
|
47
47
|
- **“Expected binary … was not found”** – Reinstall the package. If you are working from a git checkout, run `bun run build:binary` before linking with `npm link`.
|
|
48
48
|
- **Permission errors** – On POSIX systems, ensure the binaries in `dist/` remain executable (`chmod +x dist/command-center-*`).
|
|
49
|
-
|
package/bin/command-center.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { spawn } from "node:child_process";
|
|
4
4
|
import { existsSync } from "node:fs";
|
|
5
|
-
import { fileURLToPath } from "node:url";
|
|
6
5
|
import path from "node:path";
|
|
6
|
+
import { fileURLToPath } from "node:url";
|
|
7
7
|
|
|
8
8
|
const PLATFORM_KEY = `${process.platform}:${process.arch}`;
|
|
9
9
|
|
|
@@ -57,7 +57,9 @@ child.on("error", (error) => {
|
|
|
57
57
|
|
|
58
58
|
child.on("exit", (code, signal) => {
|
|
59
59
|
if (signal) {
|
|
60
|
-
console.error(
|
|
60
|
+
console.error(
|
|
61
|
+
`command-center (wrapper): process terminated with signal ${signal}.`,
|
|
62
|
+
);
|
|
61
63
|
process.exit(1);
|
|
62
64
|
}
|
|
63
65
|
process.exit(code === null ? 1 : code);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|