Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.
fix(installer): restore matching catch block for release api fallback
Samir Hossainsf85ceb3c25aa
diff --git a/install.ps1 b/install.ps1index 118c470..febea3f 100644--- a/install.ps1+++ b/install.ps1@@ -246,6 +246,7 @@ if (-not $TargetVersion) {try {$ReleaseJson = Invoke-RestMethod -Uri "https://api.github.com/repos/$Repo/releases/latest" -Headers @{ "User-Agent" = "MovieBox-Installer" } -UseBasicParsing$TargetVersion = $ReleaseJson.tag_name.Trim()+ } catch {Write-Err "Failed to contact GitHub for latest release. Please check your internet connection."return}