ccsini 0.1.55 → 0.1.57
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 +19 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27932,7 +27932,9 @@ var init_constants = __esm(() => {
|
|
|
27932
27932
|
"**/*.bak",
|
|
27933
27933
|
"**/*.conflict",
|
|
27934
27934
|
"settings.*.json",
|
|
27935
|
-
"history.jsonl"
|
|
27935
|
+
"history.jsonl",
|
|
27936
|
+
"plugins/known_marketplaces.json",
|
|
27937
|
+
"plugins/install-counts-cache.json"
|
|
27936
27938
|
];
|
|
27937
27939
|
SESSION_SYNC_DEFAULTS = {
|
|
27938
27940
|
enabled: false,
|
|
@@ -28020,7 +28022,7 @@ var {
|
|
|
28020
28022
|
} = import__.default;
|
|
28021
28023
|
|
|
28022
28024
|
// src/version.ts
|
|
28023
|
-
var VERSION = "0.1.
|
|
28025
|
+
var VERSION = "0.1.57";
|
|
28024
28026
|
|
|
28025
28027
|
// src/commands/init.ts
|
|
28026
28028
|
init_source();
|
|
@@ -29938,11 +29940,12 @@ function registerInitCommand(program2) {
|
|
|
29938
29940
|
let daemonStarted = false;
|
|
29939
29941
|
try {
|
|
29940
29942
|
const isWin = platform2() === "win32";
|
|
29941
|
-
const child = spawn2("
|
|
29942
|
-
detached: true,
|
|
29943
|
+
const child = isWin ? spawn2("cmd", ["/c", "start", "/B", "ccsini", "daemon", "_run"], {
|
|
29943
29944
|
stdio: "ignore",
|
|
29944
|
-
windowsHide: true
|
|
29945
|
-
|
|
29945
|
+
windowsHide: true
|
|
29946
|
+
}) : spawn2("ccsini", ["daemon", "_run"], {
|
|
29947
|
+
detached: true,
|
|
29948
|
+
stdio: "ignore"
|
|
29946
29949
|
});
|
|
29947
29950
|
child.unref();
|
|
29948
29951
|
daemonStarted = true;
|
|
@@ -31815,11 +31818,12 @@ async function ensureDaemon(configDir) {
|
|
|
31815
31818
|
} catch {}
|
|
31816
31819
|
try {
|
|
31817
31820
|
const isWin = platform4() === "win32";
|
|
31818
|
-
const child = spawn3("
|
|
31819
|
-
detached: true,
|
|
31821
|
+
const child = isWin ? spawn3("cmd", ["/c", "start", "/B", "ccsini", "daemon", "_run"], {
|
|
31820
31822
|
stdio: "ignore",
|
|
31821
|
-
windowsHide: true
|
|
31822
|
-
|
|
31823
|
+
windowsHide: true
|
|
31824
|
+
}) : spawn3("ccsini", ["daemon", "_run"], {
|
|
31825
|
+
detached: true,
|
|
31826
|
+
stdio: "ignore"
|
|
31823
31827
|
});
|
|
31824
31828
|
child.unref();
|
|
31825
31829
|
} catch {}
|
|
@@ -32634,11 +32638,12 @@ function registerDaemonCommands(program2) {
|
|
|
32634
32638
|
await rm2(getStatusPath(configDir)).catch(() => {});
|
|
32635
32639
|
}
|
|
32636
32640
|
const isWin = platform5() === "win32";
|
|
32637
|
-
const child = spawn4("
|
|
32638
|
-
detached: true,
|
|
32641
|
+
const child = isWin ? spawn4("cmd", ["/c", "start", "/B", "ccsini", "daemon", "_run"], {
|
|
32639
32642
|
stdio: "ignore",
|
|
32640
|
-
windowsHide: true
|
|
32641
|
-
|
|
32643
|
+
windowsHide: true
|
|
32644
|
+
}) : spawn4("ccsini", ["daemon", "_run"], {
|
|
32645
|
+
detached: true,
|
|
32646
|
+
stdio: "ignore"
|
|
32642
32647
|
});
|
|
32643
32648
|
child.unref();
|
|
32644
32649
|
await new Promise((r) => setTimeout(r, 1000));
|