@oneaddress/setup 1.1.6 → 1.1.7
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 +13 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -835,7 +835,7 @@ var _R = ["\u2588\u2588\u2588\u2588\u2588\u2588 ", "\u2588\u2588 \u2588\u2588"
|
|
|
835
835
|
var _S = [" \u2588\u2588\u2588\u2588\u2588\u2588", "\u2588\u2588 ", "\u2588\u2588 ", " \u2588\u2588\u2588\u2588\u2588 ", " \u2588\u2588", " \u2588\u2588", "\u2588\u2588\u2588\u2588\u2588\u2588 "];
|
|
836
836
|
var ONE_ROWS = Array.from({ length: 7 }, (_2, i) => [_O[i], _N[i], _E[i]].join(" "));
|
|
837
837
|
var ADDR_ROWS = Array.from({ length: 7 }, (_2, i) => [_A[i], _D2[i], _D2[i], _R[i], _E[i], _S[i], _S[i]].join(" "));
|
|
838
|
-
var WIZARD_VERSION = true ? "1.1.
|
|
838
|
+
var WIZARD_VERSION = true ? "1.1.7" : "?";
|
|
839
839
|
function printHeader() {
|
|
840
840
|
const BAR_LEN = 85;
|
|
841
841
|
const TOP_BAR = fn("\u250C") + dm("\u2500".repeat(BAR_LEN)) + fn("\u2510");
|
|
@@ -3169,13 +3169,18 @@ async function startServer(platform, outputDir, port = 3001) {
|
|
|
3169
3169
|
}
|
|
3170
3170
|
serverOutput = "";
|
|
3171
3171
|
const manualCommand = `cd ${outputDir} && ${spec.cmd} ${spec.args.join(" ")}`;
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3172
|
+
const isWin = process.platform === "win32";
|
|
3173
|
+
serverProcess = (0, import_node_child_process2.spawn)(
|
|
3174
|
+
isWin ? "cmd.exe" : spec.cmd,
|
|
3175
|
+
isWin ? ["/c", spec.cmd, ...spec.args] : spec.args,
|
|
3176
|
+
{
|
|
3177
|
+
cwd: outputDir,
|
|
3178
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
3179
|
+
detached: false,
|
|
3180
|
+
shell: false,
|
|
3181
|
+
env: { ...process.env }
|
|
3182
|
+
}
|
|
3183
|
+
);
|
|
3179
3184
|
serverProcess.stdout?.on("data", (d2) => {
|
|
3180
3185
|
serverOutput += d2.toString();
|
|
3181
3186
|
});
|