HMCL-dev / HMCL-dev/HMCL

[Bug] 启动器指向文件夹错误

Open
#4,124 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

问题描述 | Bug Description

windows系统下,当启动器和.minecraft文件夹位于根目录且启动器使用的是相对路径时通过启动器浏览游戏相关目录时启动器会打开系统的文档文件夹。

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

2025-07-27T19-15-32.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the attached launcher log and reproducing the Windows case where the launcher and .minecraft are in the root directory while the launcher uses a relative path. Trace the directory-browsing path handling involved in opening game-related folders. Done means each requested directory opens correctly instead of the system Documents folder.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.