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
8 changes: 7 additions & 1 deletion tools/setup-dev-env.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ else
}

$configPath = Join-Path $configDir $configFile
if (-not (Test-Path -LiteralPath $configPath -PathType Leaf))
{
Write-Host "Configuration file not found: $configPath" -ForegroundColor Red
Write-Host "Ensure the repository is fully checked out and the .config folder contains $configFile." -ForegroundColor Yellow
exit 1
}
Comment thread
benhillis marked this conversation as resolved.

# ── Run WinGet Configuration ────────────────────────────────────────
Write-Host ""
Expand All @@ -72,7 +78,7 @@ if ($LASTEXITCODE -ne 0)
winget configure -f "$configPath" --accept-configuration-agreements
if ($LASTEXITCODE -ne 0)
{
Write-Host "Failed to apply WinGet configuration file: $configFile" -ForegroundColor Red
Write-Host "Failed to apply WinGet configuration file: $configPath" -ForegroundColor Red
exit 1
}

Expand Down