HMCL-dev / HMCL-dev/HMCL

[Bug] Linux 自动更新本体类型检测不够健全

Open
#6,497 2 comments 1 reaction 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

问题描述 | Bug Description
  1. 下载.sh后缀的文件
  2. 删除后缀名
  3. 启动,检测更新
  4. 更新后变成了.jar文件(无后缀名)
启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

🈚️

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 tracing the Linux self-update flow and the logic that detects the launcher type after a .sh suffix is removed. Reproduce the reported sequence and verify that the updated extensionless .jar is correctly recognized and launched without crashing.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.