diff --git a/install-windows.ps1 b/install-windows.ps1 index 89e4b5f..6679ee7 100644 --- a/install-windows.ps1 +++ b/install-windows.ps1 @@ -82,8 +82,20 @@ $IsAdmin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIden [Security.Principal.WindowsBuiltInRole]::Administrator) if (-not $IsAdmin) { Write-Host "Requesting administrator privileges..." -ForegroundColor Yellow - Start-Process powershell -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`" -OwnsWindow" -Verb RunAs - exit + # -Wait -PassThru so this window blocks until the elevated install finishes + # and can report success/failure itself - without it, this window just says + # "Requesting..." and exits immediately, while all real progress (and the + # "installed!" banner) happens in the separate elevated window, making the + # original window look like it silently quit. + $proc = Start-Process powershell -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`" -OwnsWindow" -Verb RunAs -Wait -PassThru + Write-Host "" + if ($proc.ExitCode -eq 0) { + Write-Host " NexusOS installed successfully." -ForegroundColor Green + Write-Host " Open a NEW terminal and run 'ncp help', or double-click the NexusOS desktop shortcut." -ForegroundColor White + } else { + Write-Host " Install did not finish (exit code $($proc.ExitCode)). Check the elevated window for errors." -ForegroundColor Red + } + exit $proc.ExitCode } Write-Host "" diff --git a/interface/web/src/Models.jsx b/interface/web/src/Models.jsx index 7e4e9d1..e1fba5e 100644 --- a/interface/web/src/Models.jsx +++ b/interface/web/src/Models.jsx @@ -161,7 +161,8 @@ export function Models({ onPullStateChange }) { padding: "1rem", display: "flex", flexDirection: "column", - overflow: "hidden" + overflowY: "auto", + overflowX: "hidden" }}> {/* Pull Model Section */}