@_xtribe/cli 1.0.42 → 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 +16 -1
- package/package.json +1 -1
package/install-tribe.js
CHANGED
|
@@ -639,7 +639,7 @@ async function installTribeCLI() {
|
|
|
639
639
|
// Multiple sources for reliability
|
|
640
640
|
// For testing, use a direct URL to our releases folder
|
|
641
641
|
const isTestEnv = process.env.TRIBE_TEST_BINARY_URL;
|
|
642
|
-
const githubRepo = process.env.TRIBE_INSTALLER_REPO || 'TRIBE-INC/
|
|
642
|
+
const githubRepo = process.env.TRIBE_INSTALLER_REPO || 'TRIBE-INC/releases';
|
|
643
643
|
|
|
644
644
|
let downloadUrl = '';
|
|
645
645
|
|
|
@@ -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
|
}
|