mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
Fixes #2257 The Windows installer hardcoded calls to powershell.exe for running instance detection, which fails on systems that only have PowerShell 7 (pwsh.exe) installed. This caused a false positive 'still running' error during first-time installation. Changes: - DetectRunningInstances: try pwsh.exe first, fall back to powershell.exe - CloseRunningInstances: same fallback logic with detailed logging - Maintains backward compatibility with Windows PowerShell 5.1 - Provides clear error messages when neither PowerShell is available The installer now works correctly on: - Systems with only PowerShell 5.1 (powershell.exe) - Systems with only PowerShell 7 (pwsh.exe) - Systems with both installed - Logs detailed errors when neither is available Signed-off-by: xxiaoxiong <2482929840@qq.com> |
||
|---|---|---|
| .. | ||
| dev | ||
| pack | ||
| pr | ||
| serve | ||
| AGENTS.md | ||