@_xtribe/cli 1.0.6 → 1.0.8
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 +1 -5
- package/package.json +1 -1
package/install-tribe.js
CHANGED
|
@@ -581,12 +581,8 @@ async function installTribeCLI() {
|
|
|
581
581
|
|
|
582
582
|
const sources = isTestEnv ? [isTestEnv] : [
|
|
583
583
|
downloadUrl,
|
|
584
|
-
//
|
|
585
|
-
`https://raw.githubusercontent.com/${githubRepo}/main/cli/latest-tribe-${platform}-${arch}`,
|
|
586
|
-
// GitHub releases (fallback)
|
|
584
|
+
// GitHub releases direct download (fallback if API fails)
|
|
587
585
|
`https://github.com/${githubRepo}/releases/latest/download/tribe-${platform}-${arch}`,
|
|
588
|
-
// Try jsDelivr CDN (for better availability)
|
|
589
|
-
`https://cdn.jsdelivr.net/gh/${githubRepo}@main/cli/latest-tribe-${platform}-${arch}`,
|
|
590
586
|
// Local build if available
|
|
591
587
|
...(hasLocalBuild ? [`file://${localBuildPath}`] : [])
|
|
592
588
|
].filter(Boolean); // Filter out empty downloadUrl if API failed
|