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
- 平均合并
- 1 小时 33 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 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
-
documentation good first issue
难度 1/5 1 小时以内 新手友好度 85/100
ysb3996-blip/oops#51 ·
维护者通常 1 天内回复
-
luaebpf: the by-example page's intro names two outcomes of a lowering and omits the stop with the default verdict可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭documentation severity: low
难度 1/5 1 小时以内 新手友好度 88/100
luainkernel/lunatik#2231 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
dataiku/kiji-proxy#668 ·
维护者通常 2 天内回复
-
diagnostics good first issue testing
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
Remove leftover Cloud66 custom_web process from Procfile可能已有人在做 @ShahadatTest 今天认领。 未关闭Difficulty: Easy Good First Issue
难度 1/5 1 小时以内 新手友好度 88/100
rubyforgood/casa#7330 · 1 条评论 ·
维护者通常 1 天内回复