ugs commands fail when the windows user has a space in it

未关闭
#11 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
csharp
领域
cli

调研方向

在 Windows 上的 PowerShell 中使用包含空格的用户路径(例如 C:\users\pzg laptop2)运行 ugs,以重现该故障。跟踪 ugs 命令或 ugs.exe 如何处理用户路径,并确定路径在哪里被拆分。完成标准是:该命令能够在该 Windows 配置下成功启动,同时不影响不包含空格的路径。

由索引模型根据 Issue 内容生成。

描述

I have the lastest (v1.7.1) version of ugs installed on a windows 11 machine where the windows usersname has a space in it (C:\users\pzg laptop2).
When i try to run ugs (even when the ugs.exe itself is in a folder without any spaces) I get the following error:

PS C:\agent> ugs
The term 'C:\pzg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

主要语言
C#
星标
48
派生
15
平均合并
6 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Unity-Technologies/unity-gaming-services-cli 的其他 Issue

查看 Unity-Technologies/unity-gaming-services-cli 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。