@@ -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-17 " );
13+ chef_set_last_updated (this , "2025-12-28 " );
1414 chef_set_sources_last_updated (this , "2025-08-09" );
1515
1616 chef_set_chef (this , NULL );
1717 chef_set_cooks (this , 1 , "@happy-game" );
18- chef_set_sauciers (this , 2 , "@Kattos" , "@ccmywish" );
18+ chef_set_sauciers (this , 3 , "@MingriLingran" , "@Kattos" , "@ccmywish" );
1919
2020 chef_allow_local_mode (this , FullyCan , NULL , NULL );
2121 chef_allow_english (this );
@@ -91,8 +91,18 @@ pl_python_uv_getsrc (char *option)
9191 }
9292
9393 /* 获取 [[index]] 配置项的 url */
94- char * cmd = xy_str_gsub (RAWSTR_pl_python_get_uv_config , "@f@" , uv_config );
95- chsrc_run (cmd , RunOpt_Default );
94+ char * cmd = NULL ;
95+ if (xy .on_windows )
96+ {
97+ /* 在 Windows 上使用 PowerShell 替代 grep */
98+ cmd = xy_str_gsub (RAWSTR_pl_python_get_uv_config_on_windows , "@f@" , uv_config );
99+ }
100+ else
101+ {
102+ /* 在 Linux 或 macOS 上使用 grep */
103+ cmd = xy_str_gsub (RAWSTR_pl_python_get_uv_config , "@f@" , uv_config );
104+ }
105+ chsrc_run (cmd , RunOpt_Default );
96106}
97107
98108
0 commit comments