@bakapiano/ccsm 0.10.0 → 0.10.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/package.json +1 -1
- package/scripts/install.js +7 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bakapiano/ccsm",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Claude Code Session Manager — Windows web UI to manage many concurrent claude sessions: live list, snapshot/restore, focus existing window, new session in an isolated workspace with repo clones",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "server.js",
|
package/scripts/install.js
CHANGED
|
@@ -116,11 +116,16 @@ try {
|
|
|
116
116
|
if (process.env.CCSM_NO_AUTOLAUNCH !== '1') {
|
|
117
117
|
try {
|
|
118
118
|
const { spawn } = require('node:child_process');
|
|
119
|
-
|
|
119
|
+
// Spawn `node bin/ccsm.js` directly — NOT ccsm.cmd. On Windows,
|
|
120
|
+
// child_process.spawn() with shell:false refuses .cmd files (throws
|
|
121
|
+
// EINVAL); using shell:true would flash a console window. Going
|
|
122
|
+
// through node + the JS entrypoint sidesteps both problems and
|
|
123
|
+
// matches exactly what the .cmd shim would have invoked.
|
|
124
|
+
const launcherJs = path.join(__dirname, '..', 'bin', 'ccsm.js');
|
|
125
|
+
const child = spawn(process.execPath, [launcherJs], {
|
|
120
126
|
detached: true,
|
|
121
127
|
stdio: 'ignore',
|
|
122
128
|
windowsHide: true,
|
|
123
|
-
shell: false,
|
|
124
129
|
});
|
|
125
130
|
child.unref();
|
|
126
131
|
log('launching ccsm now · check for the chromeless window');
|