Skip to content

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

chore(installer): add Unblock-File to PowerShell installer to strip web quarantine attributes

Samir Hossains2ca66bf39a14
diff --git a/README.md b/README.md
index 8d4dd15..53599de 100644
--- a/README.md
+++ b/README.md
@@ -87,6 +87,8 @@ Or manual installation:
1. Download `MovieBox_Windows_x64.zip` (or `MovieBox_Windows_arm64.zip`) from [GitHub Releases](https://github.com/mesamirh/MovieBox-Tui/releases/latest).
2. Extract the archive and place `moviebox-tui.exe` in your PATH (e.g. `%LOCALAPPDATA%\Programs\MovieBox-Tui\bin`).
+*(Note: If Windows SmartScreen displays an "Unknown Publisher" prompt on first launch, click **More info** → **Run anyway**)*
+
---
### Android (Termux)
diff --git a/install.ps1 b/install.ps1
index 454c874..b58c711 100644
--- a/install.ps1
+++ b/install.ps1
@@ -177,6 +177,7 @@ try {
Write-Step "[2/4] Downloading $ArchiveName..."
Invoke-WebRequest -Uri $Url -OutFile $ZipFile -UseBasicParsing
Invoke-WebRequest -Uri "$BaseUrl/SHA256SUMS" -OutFile $ChecksumFile -UseBasicParsing
+ try { Unblock-File -Path $ZipFile -ErrorAction SilentlyContinue } catch {}
Write-Success "[2/4] Downloaded $ArchiveName"
Write-Step "[3/4] Verifying SHA256 checksum..."
@@ -208,7 +209,9 @@ try {
throw "Binary not found in archive."
}
+ try { Unblock-File -Path $ExtractedExe -ErrorAction SilentlyContinue } catch {}
Move-Item -Path $ExtractedExe -Destination $ExePath -Force
+ try { Unblock-File -Path $ExePath -ErrorAction SilentlyContinue } catch {}
Write-Success "[4/4] Binary installed to $ExePath"
} catch {
Remove-Item $TempDir -Recurse -Force -ErrorAction SilentlyContinue