Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ param()
$ErrorActionPreference = "Stop"
$ProgressPreference = "SilentlyContinue" # Suppress progress bars for faster downloads

# Ensure compatibility with PowerShell 5.1
if (-not (Test-Path Variable:IsWindows)) {
# We're on PowerShell 5.1 or earlier (which only runs on Windows)
$IsWindows = $true
}

# Check if running on Windows
if (-not $IsWindows) {
Write-Host "[ERROR] This installer is for Windows only." -ForegroundColor Red
Expand Down
Loading