Skip to content

[Bug] 在windows环境启动时会自动将游戏文件夹路径中的斜杠改为反斜杠 #6125

@HydrogenTritiu

Description

@HydrogenTritiu

问题描述 | Bug Description

在Linux环境中将hmcl.json的gameDir中的\\改为/,启动hmcl后没有异常
随后在Windows环境中启动hmcl,gameDir中的/被自动改为\\
回到Linux环境,由于路径中的/被改为\\导致无法正常识别游戏文件夹
(游戏文件夹均使用相对路径)

启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions