HMCL-dev / HMCL-dev/HMCL

[Feature] 在更新模组时沿用旧模组文件名的前置说明

Open
#4,643 0 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

概述 | Summary

一些整合包会在模组文件名的最前端使用‘【】’或‘[]’添加说明和描述,希望在更新模组时获取这些描述,并添加在更新的模组前

原因 | Reason

在文件管理器使用名称排序时,可以更直观的看到哪些模组更新;
更方便删除旧的模组;
更新后依然可以直观的了解这个模组的功能;

详情 | Description

在更新模组时,检测旧版本文件名是否由‘【’或‘[’开头,且括号闭合。
对于符合条件的模组,获取括号内容,并添加在新模组前(添加时使用相同的括号)。

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

No source files, tests, or entry points are named. Start by locating the mod update flow and inspect how old and downloaded mod filenames are handled; done means a leading, closed 【】 or [] prefix from the old filename is preserved on the updated mod, while other names remain unchanged.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.