tlc-claude-code 0.9.2 → 0.9.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/init.js +7 -3
- package/package.json +1 -1
package/bin/init.js
CHANGED
|
@@ -118,12 +118,16 @@ const isWindows = process.platform === 'win32' || isWSL;
|
|
|
118
118
|
const launcherFile = isWindows ? 'tlc-start.bat' : 'tlc-start.sh';
|
|
119
119
|
const launcherPath = path.join(projectDir, launcherFile);
|
|
120
120
|
|
|
121
|
-
// FAST PATH: If
|
|
122
|
-
if (fs.existsSync(launcherPath)
|
|
121
|
+
// FAST PATH: If launcher exists for this OS, just confirm and exit
|
|
122
|
+
if (fs.existsSync(launcherPath)) {
|
|
123
123
|
console.log('');
|
|
124
124
|
console.log(`[TLC] Already initialized. ${launcherFile} exists.`);
|
|
125
125
|
console.log('');
|
|
126
|
-
|
|
126
|
+
if (isWindows) {
|
|
127
|
+
console.log('[TLC] To start: Double-click ' + launcherFile);
|
|
128
|
+
} else {
|
|
129
|
+
console.log('[TLC] To start: ./' + launcherFile);
|
|
130
|
+
}
|
|
127
131
|
console.log('[TLC] To rebuild: tlc rebuild');
|
|
128
132
|
console.log('');
|
|
129
133
|
process.exit(0);
|