HMCL-dev / HMCL-dev/HMCL

[Bug] HMCLauncher 应向 HMCL 传入参数

Open
#2,391 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

当 HMCL 被设定为默认打开方式时,其 arg 为将要打开文件的 path。但 HMCLauncher 不会将这个 arg 传给 HMCL 本体,造成 HMCL 也无法警告用户

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 locating the HMCLauncher entry point and the HMCL startup argument handling. Verify how the path argument is received when HMCL is the default opener; done means HMCLauncher forwards that path to HMCL so HMCL can warn the user.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.