bitfab-cli 0.2.3 → 0.2.4
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 +6 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7019,7 +7019,10 @@ function getWindowSizeArgs() {
|
|
|
7019
7019
|
return computeWindowArgs(getWorkArea());
|
|
7020
7020
|
}
|
|
7021
7021
|
function spawnDetached(command, args) {
|
|
7022
|
-
spawn(command, [...args], { detached: true, stdio: "ignore" })
|
|
7022
|
+
const child = spawn(command, [...args], { detached: true, stdio: "ignore" });
|
|
7023
|
+
child.on("error", () => {
|
|
7024
|
+
});
|
|
7025
|
+
child.unref();
|
|
7023
7026
|
}
|
|
7024
7027
|
function openChromiumApp(binaryPath, url2, sizeArgs) {
|
|
7025
7028
|
spawnDetached(binaryPath, [`--app=${url2}`, ...sizeArgs]);
|
|
@@ -27401,6 +27404,8 @@ function runCursorInstall() {
|
|
|
27401
27404
|
windowsHide: true,
|
|
27402
27405
|
...SHELL_OPTS3
|
|
27403
27406
|
});
|
|
27407
|
+
child.on("error", () => {
|
|
27408
|
+
});
|
|
27404
27409
|
child.unref();
|
|
27405
27410
|
}
|
|
27406
27411
|
function runCursorSetup() {
|