Skip to content

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

revert: restore original installer scripts

Samir Hossains4c52f8f795ab
diff --git a/install.ps1 b/install.ps1
index 97a9fe0..6404d9a 100644
--- a/install.ps1
+++ b/install.ps1
@@ -25,9 +25,7 @@ if ($Help) {
MovieBox-TUI Installer (Windows PowerShell)
USAGE:
- Invoke-WebRequest https://raw.githubusercontent.com/mesamirh/MovieBox-Tui/main/install.ps1 -OutFile install.ps1
- Get-Content .\install.ps1
- powershell -ExecutionPolicy Bypass -File .\install.ps1
+ irm https://raw.githubusercontent.com/mesamirh/MovieBox-Tui/main/install.ps1 | iex
.\install.ps1 [OPTIONS]
OPTIONS:
diff --git a/install.sh b/install.sh
index af6dcc0..e5c5033 100755
--- a/install.sh
+++ b/install.sh
@@ -56,7 +56,7 @@ USAGE:
./install.sh [OPTIONS]
OPTIONS:
- -v, --version <tag> Install a specific version (e.g. v0.1.13)
+ -v, --version <tag> Install a specific version (e.g. v0.1.12)
--dir <path> Install binary to a custom directory
-f, --force Reinstall even if already at the latest version
--dry-run Perform preflight checks without writing files
@@ -442,8 +442,7 @@ verify_checksum() {
return 1
fi
- [ "$(printf '%s' "$actual_sha" | tr '[:upper:]' '[:lower:]')" = \
- "$(printf '%s' "$expected_sha" | tr '[:upper:]' '[:lower:]')" ]
+ [ "$actual_sha" = "$expected_sha" ]
}
run_spinner "[3/4] Verifying SHA256 checksum" verify_checksum || exit 1