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 天內回覆
-
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
-
needs-area
難度 2/5 1-3 小時 新手友好度 68/100
Azure/typespec-azure#5936 ·
維護者通常 1 天內回覆