[Feature] 在更新模组时沿用旧模组文件名的前置说明
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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