tlc-claude-code 0.8.6 → 0.8.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/bin/init.js +3 -2
- package/package.json +1 -1
package/bin/init.js
CHANGED
|
@@ -85,8 +85,9 @@ console.log(' TLC Project Init');
|
|
|
85
85
|
console.log(' ============================');
|
|
86
86
|
console.log('');
|
|
87
87
|
|
|
88
|
-
// Detect OS
|
|
89
|
-
const
|
|
88
|
+
// Detect OS - WSL counts as Windows since user will double-click .bat from Explorer
|
|
89
|
+
const isWSL = process.platform === 'linux' && fs.existsSync('/mnt/c');
|
|
90
|
+
const isWindows = process.platform === 'win32' || isWSL;
|
|
90
91
|
|
|
91
92
|
if (isWindows) {
|
|
92
93
|
// Create Windows launcher
|