fix windows build (#5333)

This commit is contained in:
pyranota
2025-02-20 02:26:09 +03:00
committed by GitHub
parent 00d2d08e75
commit 5a3ca3c8f2
2 changed files with 2 additions and 7 deletions

View File

@@ -1650,8 +1650,7 @@ async fn spawn_uv_install(
#[cfg(windows)]
{
let installer_path = if no_uv_install { command_args[0] } else { "uv" };
let mut cmd: Command = Command::new(&installer_path);
let mut cmd: Command = Command::new("uv");
cmd.env_clear()
.envs(envs)
.envs(PROXY_ENVS.clone())