优先使用 pwsh,不存在时回落使用 powershell

This commit is contained in:
Aoran Zeng
2025-12-29 18:09:03 +08:00
parent a41ff32936
commit 6418b1557f
2 changed files with 51 additions and 10 deletions

View File

@@ -95,7 +95,7 @@ pl_python_uv_getsrc (char *option)
{
/* 在 Windows 上使用 PowerShell 替代 grep */
char *script = xy_str_gsub (RAWSTR_pl_python_get_uv_config_on_windows, "@f@", uv_config);
chsrc_run_as_pwsh_file (script);
chsrc_run_as_powershell_file (script);
}
else
{