Understand any codebase instantly. System intelligence for codebases, built for humans and AI.
TypeScript aiai-memoryclaude-codeclicode-analysiscode-mappingcode-memorycodebase-understandingcodexdeveloper-toolsllmopenclawpersistent-memoryprogram-analysissoftware-architecturesystem-intelligencesystem-mapping
fix: use gh CLI for release asset downloads from private repos
riley0227bf328682a321
diff --git a/install.sh b/install.shindex d997d28f..2415bd50 100755--- a/install.sh+++ b/install.sh@@ -275,7 +275,21 @@ if [ ! -x "$IX_BIN/ix" ] || [ "$("$IX_BIN/ix" --version 2>/dev/null || echo "")"mkdir -p "$INSTALL_DIR" "$IX_BIN"echo " Downloading ix CLI v${VERSION} for ${PLATFORM}..."- if ! gcurl "$TARBALL_URL" -o "/tmp/${TARBALL_NAME}" 2>/dev/null; then+ DOWNLOAD_OK=false+ # Try gh CLI first (handles private repos automatically)+ if command -v gh >/dev/null 2>&1; then+ if gh release download "v${VERSION}" --repo "${GITHUB_ORG}/${GITHUB_REPO}" \+ --pattern "${TARBALL_NAME}" --dir /tmp 2>/dev/null; then+ DOWNLOAD_OK=true+ fi+ fi+ # Fallback to curl+ if [ "$DOWNLOAD_OK" = false ]; then+ if gcurl "$TARBALL_URL" -o "/tmp/${TARBALL_NAME}" 2>/dev/null; then+ DOWNLOAD_OK=true+ fi+ fi+ if [ "$DOWNLOAD_OK" = false ]; thenecho ""warn "Could not download pre-built CLI from:"warn " $TARBALL_URL"