Skip to content

Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.

chore: remove comments from install.sh and install.ps1

Samir Hossains9c97a1b4fd4c
diff --git a/install.ps1 b/install.ps1
index 56d0dc2..9b1a103 100644
--- a/install.ps1
+++ b/install.ps1
@@ -12,9 +12,7 @@ $ErrorActionPreference = 'Stop'
$ProgressPreference = 'SilentlyContinue'
try {
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 -bor [Net.SecurityProtocolType]::Tls13
-} catch {
- # Non-fatal if runtime does not support Tls13 enum
-}
+} catch {}
Set-StrictMode -Version Latest
$AppName = "MovieBox-Tui"
@@ -156,9 +154,7 @@ if (Test-Path $ExePath) {
exit 0
}
}
- } catch {
- # Proceed with installation if version check fails
- }
+ } catch {}
}
if ($DryRun) {
diff --git a/install.sh b/install.sh
index 4dfeadf..1fa6a06 100755
--- a/install.sh
+++ b/install.sh
@@ -78,7 +78,6 @@ if [ "$IS_COLOR" -eq 1 ]; then
C_BOLD="\033[1m"
C_DIM="\033[2m"
- # Catppuccin Mocha Palette (24-bit TrueColor with ANSI fallback)
if [ "${COLORTERM:-}" = "truecolor" ] || [ "${COLORTERM:-}" = "24bit" ] || [ -n "${WT_SESSION:-}" ] || [ "${TERM_PROGRAM:-}" = "Apple_Terminal" ] || [ "${TERM_PROGRAM:-}" = "iTerm.app" ] || [ "${TERM_PROGRAM:-}" = "ghostty" ] || [ "${TERM_PROGRAM:-}" = "WezTerm" ] || [ "${TERM_PROGRAM:-}" = "warp" ]; then
C_MAUVE="\033[38;2;203;166;247m"
C_BLUE="\033[38;2;137;180;250m"