vibora 1.12.1 → 1.12.3
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/vibora.js
CHANGED
|
@@ -637,6 +637,7 @@ async function handleUpCommand(flags) {
|
|
|
637
637
|
ptyLibName = arch === "arm64" ? "librust_pty_arm64.so" : "librust_pty.so";
|
|
638
638
|
}
|
|
639
639
|
const ptyLibPath = join3(packageRoot, "lib", ptyLibName);
|
|
640
|
+
const viboraDir = getViboraDir();
|
|
640
641
|
console.error("Starting Vibora server...");
|
|
641
642
|
const serverProc = spawn("bun", [serverPath], {
|
|
642
643
|
detached: true,
|
|
@@ -645,6 +646,7 @@ async function handleUpCommand(flags) {
|
|
|
645
646
|
...process.env,
|
|
646
647
|
NODE_ENV: "production",
|
|
647
648
|
PORT: port.toString(),
|
|
649
|
+
VIBORA_DIR: viboraDir,
|
|
648
650
|
VIBORA_PACKAGE_ROOT: packageRoot,
|
|
649
651
|
BUN_PTY_LIB: ptyLibPath
|
|
650
652
|
}
|