@@ -10,12 +10,12 @@ pl_python_uv_prelude (void)
1010 chef_prep_this (pl_python_uv , gsr );
1111
1212 chef_set_created_on (this , "2024-12-11" );
13- chef_set_last_updated (this , "2025-12-28 " );
13+ chef_set_last_updated (this , "2025-12-29 " );
1414 chef_set_sources_last_updated (this , "2025-08-09" );
1515
1616 chef_set_chef (this , NULL );
17- chef_set_cooks (this , 1 , "@happy-game" );
18- chef_set_sauciers (this , 3 , "@MingriLingran" , "@Kattos" , "@ccmywish" );
17+ chef_set_cooks (this , 2 , "@happy-game" , "@MingriLingran " );
18+ chef_set_sauciers (this , 2 , "@Kattos" , "@ccmywish" );
1919
2020 chef_allow_local_mode (this , FullyCan , NULL , NULL );
2121 chef_allow_english (this );
@@ -91,18 +91,18 @@ pl_python_uv_getsrc (char *option)
9191 }
9292
9393 /* 获取 [[index]] 配置项的 url */
94- char * cmd = NULL ;
9594 if (xy .on_windows )
9695 {
9796 /* 在 Windows 上使用 PowerShell 替代 grep */
98- cmd = xy_str_gsub (RAWSTR_pl_python_get_uv_config_on_windows , "@f@" , uv_config );
97+ char * script = xy_str_gsub (RAWSTR_pl_python_get_uv_config_on_windows , "@f@" , uv_config );
98+ chsrc_run_as_pwsh_file (script );
9999 }
100100 else
101101 {
102- /* 在 Linux 或 macOS 上使用 grep */
103- cmd = xy_str_gsub (RAWSTR_pl_python_get_uv_config , "@f@" , uv_config );
102+ /* 在类 Unix 系统上使用 grep */
103+ char * cmd = xy_str_gsub (RAWSTR_pl_python_get_uv_config , "@f@" , uv_config );
104+ chsrc_run (cmd , RunOpt_Default );
104105 }
105- chsrc_run (cmd , RunOpt_Default );
106106}
107107
108108
@@ -147,7 +147,7 @@ pl_python_uv_setsrc (char *option)
147147 {
148148 cmd = xy_str_gsub (RAWSTR_pl_python_test_uv_if_set_source , "@f@" , uv_config );
149149 }
150-
150+
151151 int status = xy_run_get_status (cmd );
152152 if (0 == status )
153153 {
0 commit comments