Closed Patrick-Ze closed 4 months ago
这种直接提个 pr 过来修下就好
这种直接提个 pr 过来修下就好
是已经在提PR了,发现guideline需要先提issue才提了这个
Bot detected the issue body's language is not English, translate it automatically.
Just submit a PR and come over to fix it.
merged, thanks
Bot detected the issue body's language is not English, translate it automatically.
Just submit a PR and have it fixed.
I was already submitting a PR, but I found that the guideline requires an issue to be submitted first, so I submitted this.
Xmake 版本
n.a.
操作系统版本和架构
Version 22H2 (OS Build 19045.4529)
描述问题
https://xmake.io/#/guide/installation 提供的一键安装脚本
Invoke-Expression (Invoke-Webrequest 'https://xmake.io/psget.text' -UseBasicParsing).Content
当
TMP
路径中包含8.3格式的字段时(例如用户名较长)C:\Users\USER~1.NAM
通过环境变量获取的临时文件夹路径会导致安装失败,原因是Remove-Item
和Set-Location
不支持这样的路径(见 https://github.com/PowerShell/PowerShell/issues/7760#issue-359155177 )。 安装脚本会在Remove-Item $outfile
这句失败期待的结果
xmake.io的一键安装脚本应当能正常完成安装
工程配置
无需配置即可复现
附加信息和错误日志