@_xtribe/cli 1.0.43 → 1.0.44
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/install-tribe.js +15 -0
- package/package.json +1 -1
package/install-tribe.js
CHANGED
|
@@ -1824,6 +1824,21 @@ async function main() {
|
|
|
1824
1824
|
log.info('Then run: tribe start');
|
|
1825
1825
|
}
|
|
1826
1826
|
|
|
1827
|
+
// Auto-launch handling (only for successful installations)
|
|
1828
|
+
if (checks.kubectl && checks.tribe) {
|
|
1829
|
+
try {
|
|
1830
|
+
const autoLaunch = require('./install-tribe-autolaunch.js');
|
|
1831
|
+
if (autoLaunch.shouldAutoLaunch()) {
|
|
1832
|
+
console.log(''); // Spacing before auto-launch
|
|
1833
|
+
await autoLaunch.handleAutoLaunch();
|
|
1834
|
+
// If auto-launch takes over, we won't reach here
|
|
1835
|
+
}
|
|
1836
|
+
} catch (error) {
|
|
1837
|
+
// Silently ignore auto-launch errors to not break the installer
|
|
1838
|
+
// Auto-launch is a nice-to-have feature, not critical
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1827
1842
|
// Exit cleanly
|
|
1828
1843
|
process.exit(0);
|
|
1829
1844
|
}
|