PowerShell 7.6.8
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 72/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- github, powershell
研究方向
首先追蹤 GitHub Copilot CLI 中的 Windows 安裝流程,尤其是偵測現有 PowerShell 7 安裝並選擇要安裝版本的邏輯。比較如何發現由 Winget 管理的 PowerShell 版本以及透過 Windows Update 安裝的 PowerShell 版本,然後使用 issue 中描述的受影響版本與安裝路徑驗證修正。
由索引模型根據 Issue 內容生成。
描述
Describe the bug
When I first installed GitHub Copilot CLI on Windows 11, it automatically installed PowerShell 7. I hadn’t had PowerShell 7 before, and I wasn’t a fan of it, but I had to install PowerShell 7.x anyway, so it was fine.
For some reason, Windows Update installed PowerShell 7.6.8 on my workstation. It’s located under “Program Files,” which is a different path from where PowerShell 7 had been installed previously. Although I can see PowerShell 7.6.8 in the system, Winget doesn’t recognize it as installed.
I have two versions of PowerShell 7.x - one installed via Winget and another installed through Windows Update.
This is not the way to be...
Affected version
GitHub Copilot CLI 1.0.103
Steps to reproduce the behavior
- Install GitHub Copilot in a system PowerShell 7.6.8 is already installed.
Expected behavior
Respect existing installation of PowerShell 7.6.8, and do not install PowerShell 7.6.7
Additional context
No response
- 主要語言
- Shell
- 星號
- 11.3k
- 分支
- 2k
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/copilot-cli 的其他 Issue
-
area:configuration area:models
難度 2/5 1-3 小時 新手友好度 67/100
github/copilot-cli#5287 ·
-
area:models area:sessions
難度 2/5 1-3 小時 新手友好度 76/100
github/copilot-cli#5189 · 1 個 reaction ·
-
area:configuration area:input-keyboard
難度 2/5 1-3 小時 新手友好度 62/100
github/copilot-cli#5159 ·
-
area:sessions
難度 2/5 1-3 小時 新手友好度 72/100
github/copilot-cli#5147 · 1 則留言 ·
-
area:input-keyboard
難度 2/5 1-3 小時 新手友好度 66/100
github/copilot-cli#5113 ·
查看 github/copilot-cli 的全部 Issue
相似的 Issue
-
bug good first issue help wanted
難度 2/5 1-3 小時 新手友好度 90/100
ysb3996-blip/oops#24 ·
維護者通常 1 天內回覆
-
ai:ready documentation exec:app type:task
難度 1/5 1 小時以內 新手友好度 82/100
-
難度 1/5 1 小時以內 新手友好度 85/100
msys2/MSYS2-packages#6919 ·
維護者通常 1 天內回覆
-
severity: low
難度 2/5 1-3 小時 新手友好度 76/100
luainkernel/lunatik#2221 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
lognorman20/monaco#7369 · 1 則留言 ·