Skip to content

Commit 7117277

Browse files
committed
fix: remove ReadKey, not needed for interactive sessions
1 parent 989332f commit 7117277

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

scripts/install-windows.ps1

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,4 @@ Write-Host " Replace HOMEASSISTANT_TOKEN with your token"
152152
Write-Host " (Generate token in HA: Profile > Security > Long-lived tokens)"
153153
Write-Host ""
154154

155-
# Keep window open if running interactively (not piped)
156-
if ([Environment]::UserInteractive -and -not [Console]::IsInputRedirected) {
157-
Write-Host "Press any key to close this window..." -ForegroundColor Gray
158-
$null = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
159-
}
160-
161155
exit 0

0 commit comments

Comments
 (0)