github / github/copilot-cli

winget install github.copilot installs PowerShell even when PowerShell Preview is installed

Abierto
#3,240 1 comentario 0 reacciones 0 asignados Ver en GitHub
area:installation area:platform-windows
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

### Describe the bug

When installing GitHub Copilot CLI with `winget`, running `winget install github.copilot` installs `microsoft.powershell` even when `microsoft.powershell.preview` with a newer version of PowerShell is installed and available.

### Affected version

1.0.44

### Steps to reproduce the behavior

1. Install PowerShell preview on Windows with `winget install Microsoft.PowerShell.Preview`
2. Install GitHub Copilot CLI with `winget install github.copilot`

### Expected behavior

The installer sees `Microsoft.PowerShell.Preview` and uses that, instead of also installing the GA `Microsoft.PowerShell`.

### Additional context

This is fundamentally an issue in the WinGet schema, which needs OR options.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.