HMCL-dev / HMCL-dev/HMCL

[Feature] LocalModpackPage 支持套文件夹检查支持

Open
#2,724 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

描述 | Description

当前 LocalModpackPage 检查的路径是:

xxx.zip
├── .minecraft
│   ├── versions
│   │    └──  version

但若路径为如下路径时,会检测失败

xxx.zip
├── xxx
│   ├── .minecraft
│   │    └── versions
│   │    │      └──  version

image

原因 | Reason

不弄的话感觉这功能没意义了(

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 LocalModpackPage and the archive-path validation it uses. Compare the existing check for .minecraft/versions/version with the nested xxx/.minecraft/versions/version layout shown in the issue. Done means both layouts are recognized successfully; check for existing tests near the page or validation logic before adding coverage.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.