aka.ms/devconfig/wsl-comfort/setup.ps1 redirects to Bing, so the README's WSL Comfort command fails
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 62/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- powershell, wasm
调研方向
失败的命令是 README 中的 irm https://aka.ms/devconfig/wsl-comfort/setup.ps1 | iex 这一行。短链接是在仓库外部配置的重定向,因此仓库内的修复方式是让 README 指向 src/wsl-comfort/setup.ps1 可用的 raw URL,或者如果确实需要,在根目录添加 wsl-comfort/setup.ps1。验证时,先将 README 中的代码片段与返回 404 的路径进行对照,然后确认新 URL 返回的是脚本,而不是重定向到 Bing。当文档中的命令能够成功安装 WSL Comfort,且不再引用过时的链接时,即视为完成;aka.ms 重定向本身需要维护者处理。
由索引模型根据 Issue 内容生成。
描述
The WSL Comfort install command in the README fails, because the short link isn't registered:
PS> irm https://aka.ms/devconfig/wsl-comfort/setup.ps1 | iex
Invoke-Expression: Missing expression after unary operator '--'.
https://aka.ms/devconfig/wsl-comfort/setup.ps1 returns 302 to https://www.bing.com?ref=aka&shorturl=devconfig/wsl-comfort/setup.ps1, so iex is handed Bing's HTML. By contrast, aka.ms/devconfig/standard/setup.ps1 and aka.ms/devconfig/full/setup.ps1 redirect to the scripts on raw.githubusercontent.com as expected.
There's also no root-level copy to point the link at: wsl-comfort/setup.ps1 returns 404 on main, although wsl-comfort/install.ps1 exists. Only src/wsl-comfort/setup.ps1 is present, and running that directly works as a workaround:
irm https://raw.githubusercontent.com/microsoft/WindowsDeveloperConfig/main/src/wsl-comfort/setup.ps1 | iex
Checked 2026-11-02 against main at fb56461.
- 主要语言
- PowerShell
- 星标
- 3.5k
- 派生
- 239
- 平均合并
- 9 小时 32 分钟
- 30 天内合并 PR
- 39
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/WindowsDeveloperConfig 的其他 Issue
-
comfort-shell-bootstrap.sh fails on standalone non-WSL Ubuntu despite README stating it supports any Ubuntu host可能已有人在做 @harpind3r 于 18 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
microsoft/WindowsDeveloperConfig#139 · 1 条评论 ·
维护者通常 1 天内回复
-
Add ShowSecondsInClock as part of the setting Explorer settings可能已有人在做 @kilasuit 于 47 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
microsoft/WindowsDeveloperConfig#100 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
microsoft/WindowsDeveloperConfig#185 ·
维护者通常 1 天内回复
-
Feature Request: Add SQL Server Management Studio (SSMS) to the SQL Workload可能已有人在做 @crutkas 于 2 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 68/100
microsoft/WindowsDeveloperConfig#184 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
microsoft/WindowsDeveloperConfig#97 ·
维护者通常 1 天内回复
查看 microsoft/WindowsDeveloperConfig 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
REditorSupport/languageserver#833 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
nolabs-ai/nono-packs#65 ·
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
NousResearch/hermes-agent#148376 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
rescript-lang/rescript#9182 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100