tlc-claude-code 0.9.1 → 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/README.md +2 -1
- package/bin/init.js +7 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -145,7 +145,8 @@ Launch a mini-Replit for your team with Docker:
|
|
|
145
145
|
# Add launcher to your project (one-time)
|
|
146
146
|
tlc init
|
|
147
147
|
|
|
148
|
-
#
|
|
148
|
+
# Windows: double-click tlc-start.bat
|
|
149
|
+
# Mac/Linux: ./tlc-start.sh
|
|
149
150
|
```
|
|
150
151
|
|
|
151
152
|
**What you get:**
|
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);
|