qmk/qmk_firmware

[Bug] qmk setup can't handle spaces in home path

Open

#23,098 创建于 2024年2月16日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)C (43,867 fork)batch import
bughelp wanted

仓库指标

Star
 (20,368 star)
PR 合并指标
 (平均合并 20天 9小时) (30 天内合并 27 个 PR)

描述

Describe the Bug

I was just upgrading to the external userspace and had to update my qmk config because I couldn't get the userspace-add command to work.

I then saw this line in my config: user.qmk_home=S:ProjectsKeyboardsQMK

This was really weird and I tried to run qmk setup again but it set it to the above so I had to set it manually. I had to set the path sorrounded with "" to set it to: user.qmk_home=S:/Projects/Keyboards/QMK Firmware/qmk_firmware

After setting it manually it finally works. I would expect that qmk setup would set the path correctly even if it contains a space. Sadly I don't know enough about the build code to do any PR for it :)

Keyboard Used

No response

Link to product page (if applicable)

No response

Operating System

Windows

qmk doctor Output

No response

Is AutoHotKey / Karabiner installed

  • AutoHotKey (Windows)
  • Karabiner (macOS)

Other keyboard-related software installed

No response

Additional Context

No response

贡献者指南