fix: docker version check, uv PATH, install progress bar
All checks were successful
CI / build (push) Successful in 1m45s
All checks were successful
CI / build (push) Successful in 1m45s
- Fix Docker latest version: use moby/moby instead of docker/compose - Fix uv install: add ~/.local/bin to PATH in shell rc after install - Add progress bar during tool installation in dashboard - Show spinner + per-tool progress with X/Y counter - Disable install key while installation is running 💘 Generated with Crush Assisted-by: GLM-5.1 via Crush <crush@charm.land>
This commit is contained in:
@@ -344,7 +344,14 @@ func (i *Installer) installUv() InstallResult {
|
||||
var cmd *exec.Cmd
|
||||
switch i.system.OS {
|
||||
case platform.Linux, platform.MacOS:
|
||||
home, _ := os.UserHomeDir()
|
||||
cmd = exec.Command("bash", "-c", "curl -LsSf https://astral.sh/uv/install.sh | sh")
|
||||
if output, err := cmd.CombinedOutput(); err != nil {
|
||||
return InstallResult{Tool: "uv", Success: false, Message: fmt.Sprintf("install failed: %s: %s", err, string(output))}
|
||||
}
|
||||
rcFile := i.getRCFile()
|
||||
appendLine(rcFile, "export PATH="+home+"/.local/bin:$PATH")
|
||||
return InstallResult{Tool: "uv", Success: true, Message: "installed (added ~/.local/bin to PATH)"}
|
||||
case platform.Windows:
|
||||
cmd = exec.Command("powershell", "-Command", "irm https://astral.sh/uv/install.ps1 | iex")
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user