Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.
fix(installer): use responsive borderless summary across platforms
Samir Hossainsce88b56d378f
diff --git a/install.ps1 b/install.ps1index 6490fce..7e7540e 100644--- a/install.ps1+++ b/install.ps1@@ -240,34 +240,27 @@ if (Get-Command "mpv" -ErrorAction SilentlyContinue) {}Write-Host ""-Write-Host "┌────────────────────────────────────────────────────────────┐" -ForegroundColor DarkGray-Write-Host "│ " -ForegroundColor DarkGray -NoNewline-Write-Host "✔ MovieBox-Tui $TargetVersion successfully installed!" -ForegroundColor Green -NoNewline-$PadLen = 58 - 36 - $TargetVersion.Length-if ($PadLen -gt 0) { Write-Host (" " * $PadLen) -NoNewline }-Write-Host "│" -ForegroundColor DarkGray-Write-Host "│ │" -ForegroundColor DarkGray-Write-Host "│ • Binary: " -ForegroundColor DarkGray -NoNewline+Write-Host " ✔ MovieBox-Tui $TargetVersion successfully installed!" -ForegroundColor Green+Write-Host ""+Write-Host " • Binary: " -ForegroundColor DarkGray -NoNewlineWrite-Host $ExePath -ForegroundColor Whiteif ($PlayerDetected) {- Write-Host "│ • Player: " -ForegroundColor DarkGray -NoNewline+ Write-Host " • Player: " -ForegroundColor DarkGray -NoNewlineWrite-Host "$PlayerDetected (ready)" -ForegroundColor Green} else {- Write-Host "│ • Player: " -ForegroundColor DarkGray -NoNewline+ Write-Host " • Player: " -ForegroundColor DarkGray -NoNewlineWrite-Host "None detected (mpv or VLC recommended)" -ForegroundColor Cyan}if ($PathModified) {- Write-Host "│ • Shell: " -ForegroundColor DarkGray -NoNewline+ Write-Host " • Shell: " -ForegroundColor DarkGray -NoNewlineWrite-Host "PATH updated in User Environment" -ForegroundColor Magenta}-Write-Host "│ │" -ForegroundColor DarkGray-Write-Host "│ To start streaming: │" -ForegroundColor DarkGray-Write-Host "│ " -ForegroundColor DarkGray -NoNewline-Write-Host "$ moviebox-tui" -ForegroundColor Green-Write-Host "└────────────────────────────────────────────────────────────┘" -ForegroundColor DarkGray+Write-Host ""+Write-Host " To start streaming:" -ForegroundColor White+Write-Host " $ moviebox-tui" -ForegroundColor GreenWrite-Host ""if (-not $PlayerDetected) {@@ -275,5 +268,6 @@ if (-not $PlayerDetected) {}if ($PathModified) {- Write-Host " ℹ Restart your terminal window for the updated PATH to take effect.`n" -ForegroundColor Cyan+ Write-Host " ℹ Restart your terminal window for the updated PATH to take effect in other sessions.`n" -ForegroundColor Cyan}+diff --git a/install.sh b/install.shindex ec44b6c..e5c5033 100755--- a/install.sh+++ b/install.sh@@ -517,27 +517,22 @@ elif command -v vlc >/dev/null 2>&1; thenfiprintf "\n"-printf "%b┌────────────────────────────────────────────────────────────┐%b\n" "$C_MUTED" "$C_RESET"-printf "%b│%b %b✔ MovieBox-Tui %s successfully installed!%b%*s%b│%b\n" \- "$C_MUTED" "$C_RESET" "$C_GREEN" "$TARGET_VERSION" "$C_RESET" \- $(( 28 - ${#TARGET_VERSION} )) "" "$C_MUTED" "$C_RESET"-printf "%b│%b %b│%b\n" "$C_MUTED" "$C_RESET" "$C_MUTED" "$C_RESET"-printf "%b│%b • Binary: %b%-45s%b %b│%b\n" "$C_MUTED" "$C_RESET" "$C_TEXT" "$APP_PATH" "$C_RESET" "$C_MUTED" "$C_RESET"+printf " %b✔ MovieBox-Tui %s successfully installed!%b\n\n" "$C_GREEN" "$TARGET_VERSION" "$C_RESET"+printf " %b•%b %bBinary:%b %b%s%b\n" "$C_MUTED" "$C_RESET" "$C_MUTED" "$C_RESET" "$C_TEXT" "$APP_PATH" "$C_RESET"if [ -n "$PLAYER_DETECTED" ]; then- printf "%b│%b • Player: %b%-45s%b %b│%b\n" "$C_MUTED" "$C_RESET" "$C_GREEN" "$PLAYER_DETECTED (ready)" "$C_RESET" "$C_MUTED" "$C_RESET"+ printf " %b•%b %bPlayer:%b %b%s (ready)%b\n" "$C_MUTED" "$C_RESET" "$C_MUTED" "$C_RESET" "$C_GREEN" "$PLAYER_DETECTED" "$C_RESET"else- printf "%b│%b • Player: %b%-45s%b %b│%b\n" "$C_MUTED" "$C_RESET" "$C_SAPPHIRE" "None detected (mpv, VLC, or IINA recommended)" "$C_RESET" "$C_MUTED" "$C_RESET"+ printf " %b•%b %bPlayer:%b %bNone detected (mpv, VLC, or IINA recommended)%b\n" "$C_MUTED" "$C_RESET" "$C_MUTED" "$C_RESET" "$C_SAPPHIRE" "$C_RESET"fiif [ -n "$SHELL_MODIFIED" ]; then- printf "%b│%b • Shell: %bPATH added to %-31s%b %b│%b\n" "$C_MUTED" "$C_RESET" "$C_LAVENDER" "$SHELL_MODIFIED" "$C_RESET" "$C_MUTED" "$C_RESET"+ printf " %b•%b %bShell:%b %bPATH added to %s%b\n" "$C_MUTED" "$C_RESET" "$C_MUTED" "$C_RESET" "$C_LAVENDER" "$SHELL_MODIFIED" "$C_RESET"fi-printf "%b│%b %b│%b\n" "$C_MUTED" "$C_RESET" "$C_MUTED" "$C_RESET"-printf "%b│%b To start streaming: %b│%b\n" "$C_MUTED" "$C_RESET" "$C_MUTED" "$C_RESET"-printf "%b│%b %b$ moviebox-tui%b %b│%b\n" "$C_MUTED" "$C_RESET" "$C_GREEN" "$C_RESET" "$C_MUTED" "$C_RESET"-printf "%b└────────────────────────────────────────────────────────────┘%b\n\n" "$C_MUTED" "$C_RESET"+printf "\n"+printf " %bTo start streaming:%b\n" "$C_TEXT" "$C_RESET"+printf " %b$ moviebox-tui%b\n\n" "$C_GREEN" "$C_RESET"if [ -z "$PLAYER_DETECTED" ]; thenprintf " %bℹ%b Note: A media player (mpv, VLC, or IINA) is recommended for video playback.\n\n" "$C_SAPPHIRE" "$C_RESET"