HMCL-dev / HMCL-dev/HMCL

[Feature] 在安装游戏时会删除相同文件名的文件夹

Open
#3,833 2 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

在有同名游戏文件夹时对用户进行询问,而不是直接删除.

原因 | Reason

在部分情况下(GTNH 2.7.3),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

The issue names no file or test. Start by tracing the game-installation overwrite flow and the point where an existing same-named folder is removed. Done means the user is asked before that folder is deleted, including in the reported overwrite-install scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.